2 * Cumana SCSI II driver
4 * Copyright (C) 1997-1998 Russell King
9 extern int cumanascsi_2_detect (Scsi_Host_Template
*);
10 extern int cumanascsi_2_release (struct Scsi_Host
*);
11 extern const char *cumanascsi_2_info (struct Scsi_Host
*);
12 extern int cumanascsi_2_proc_info (char *buffer
, char **start
, off_t offset
,
13 int length
, int hostno
, int inout
);
16 #define NULL ((void *)0)
28 * Default SCSI host ID
33 #include <scsi/scsicam.h>
39 #define CUMANASCSI_2 { \
40 proc_info: cumanascsi_2_proc_info, \
41 name: "Cumana SCSI II", \
42 detect: cumanascsi_2_detect, /* detect */ \
43 release: cumanascsi_2_release, /* release */ \
44 info: cumanascsi_2_info, /* info */ \
45 command: fas216_command, /* command */ \
46 queuecommand: fas216_queue_command, /* queuecommand */ \
47 abort: fas216_abort, /* abort */ \
48 reset: fas216_reset, /* reset */ \
49 bios_param: scsicam_bios_param, /* biosparam */ \
50 can_queue: CAN_QUEUE, /* can queue */ \
51 this_id: SCSI_ID, /* scsi host id */ \
52 sg_tablesize: SG_ALL, /* sg_tablesize */ \
53 cmd_per_lun: CAN_QUEUE, /* cmd per lun */ \
54 unchecked_isa_dma: 0, /* unchecked isa dma */ \
55 use_clustering: DISABLE_CLUSTERING \
68 unsigned int status
; /* card status register */
69 unsigned int alatch
; /* Control register */
70 unsigned int terms
; /* Terminator state */
71 unsigned int dmaarea
; /* Pseudo DMA area */
72 dmasg_t dmasg
[NR_SG
]; /* Scatter DMA list */
75 #define CSTATUS_IRQ (1 << 0)
76 #define CSTATUS_DRQ (1 << 1)
80 #endif /* CUMANASCSI_2_H */