g_NCR5380.c (b026e8ed55e05a81018ba4ce73ca0cf2c9300950) | g_NCR5380.c (4e5a800c82ec21335349a97cf58d97fbb0d3c98e) |
---|---|
1/* 2 * Generic Generic NCR5380 driver 3 * 4 * Copyright 1993, Drew Eckhardt 5 * Visionary Computing 6 * (Unix and Linux consulting and custom programming) 7 * drew@colorado.edu 8 * +1 (303) 440-4894 --- 43 unchanged lines hidden (view full) --- 52 * for a memory mapped NCR53C400 board with interrupts disabled. 53 * 54 * 255 should be specified for no or DMA interrupt, 254 to autoprobe for an 55 * IRQ line if overridden on the command line. 56 * 57 */ 58 59/* settings for DTC3181E card with only Mustek scanner attached */ | 1/* 2 * Generic Generic NCR5380 driver 3 * 4 * Copyright 1993, Drew Eckhardt 5 * Visionary Computing 6 * (Unix and Linux consulting and custom programming) 7 * drew@colorado.edu 8 * +1 (303) 440-4894 --- 43 unchanged lines hidden (view full) --- 52 * for a memory mapped NCR53C400 board with interrupts disabled. 53 * 54 * 255 should be specified for no or DMA interrupt, 254 to autoprobe for an 55 * IRQ line if overridden on the command line. 56 * 57 */ 58 59/* settings for DTC3181E card with only Mustek scanner attached */ |
60#define USLEEP_POLL 1 61#define USLEEP_SLEEP 20 62#define USLEEP_WAITLONG 500 | 60#define USLEEP_POLL msecs_to_jiffies(10) 61#define USLEEP_SLEEP msecs_to_jiffies(200) 62#define USLEEP_WAITLONG msecs_to_jiffies(5000) |
63 64#define AUTOPROBE_IRQ 65 66#ifdef CONFIG_SCSI_GENERIC_NCR53C400 67#define NCR53C400_PSEUDO_DMA 1 68#define PSEUDO_DMA 69#define NCR53C400 70#endif --- 671 unchanged lines hidden --- | 63 64#define AUTOPROBE_IRQ 65 66#ifdef CONFIG_SCSI_GENERIC_NCR53C400 67#define NCR53C400_PSEUDO_DMA 1 68#define PSEUDO_DMA 69#define NCR53C400 70#endif --- 671 unchanged lines hidden --- |