patch-2.1.102 linux/drivers/scsi/AM53C974.h
Next file: linux/drivers/scsi/NCR5380.c
Previous file: linux/drivers/scsi/AM53C974.c
Back to the patch index
Back to the overall index
- Lines: 87
- Date:
Mon May 11 10:51:34 1998
- Orig file:
v2.1.101/linux/drivers/scsi/AM53C974.h
- Orig date:
Sun Dec 21 17:04:48 1997
diff -u --recursive --new-file v2.1.101/linux/drivers/scsi/AM53C974.h linux/drivers/scsi/AM53C974.h
@@ -1,14 +1,14 @@
/* AM53/79C974 (PCscsi) driver release 0.5
- *
+
* The architecture and much of the code of this device
* driver was originally developed by Drew Eckhardt for
* the NCR5380. The following copyrights apply:
* For the architecture and all parts similar to the NCR5380:
* Copyright 1993, Drew Eckhardt
- * Visionary Computing
- * (Unix and Linux consulting and custom programming)
- * drew@colorado.edu
- * +1 (303) 666-5836
+ * Visionary Computing
+ * (Unix and Linux consulting and custom programming)
+ * drew@colorado.edu
+ * +1 (303) 666-5836
*
* The AM53C974_nobios_detect code was originally developed by
* Robin Cutshaw (robin@xfree86.org) and is used here in a
@@ -30,25 +30,25 @@
#include <scsi/scsicam.h>
struct AM53C974_hostdata {
- volatile unsigned in_reset:1; /* flag, says bus reset pending */
- volatile unsigned aborted:1; /* flag, says aborted */
- volatile unsigned selecting:1; /* selection started, but not yet finished */
- volatile unsigned disconnecting: 1; /* disconnection started, but not yet finished */
- volatile unsigned dma_busy:1; /* dma busy when service request for info transfer received */
- volatile unsigned char msgout[10]; /* message to output in MSGOUT_PHASE */
- volatile unsigned char last_message[10]; /* last message OUT */
- volatile Scsi_Cmnd *issue_queue; /* waiting to be issued */
- volatile Scsi_Cmnd *disconnected_queue; /* waiting for reconnect */
- volatile Scsi_Cmnd *sel_cmd; /* command for selection */
- volatile Scsi_Cmnd *connected; /* currently connected command */
- volatile unsigned char busy[8]; /* index = target, bit = lun */
- unsigned char sync_per[8]; /* synchronous transfer period (in effect) */
- unsigned char sync_off[8]; /* synchronous offset (in effect) */
- unsigned char sync_neg[8]; /* sync. negotiation performed (in effect) */
- unsigned char sync_en[8]; /* sync. negotiation performed (in effect) */
- unsigned char max_rate[8]; /* max. transfer rate (setup) */
- unsigned char max_offset[8]; /* max. sync. offset (setup), only valid if corresponding sync_en is nonzero */
- };
+ volatile unsigned in_reset:1; /* flag, says bus reset pending */
+ volatile unsigned aborted:1; /* flag, says aborted */
+ volatile unsigned selecting:1; /* selection started, but not yet finished */
+ volatile unsigned disconnecting: 1; /* disconnection started, but not yet finished */
+ volatile unsigned dma_busy:1; /* dma busy when service request for info transfer received */
+ volatile unsigned char msgout[10]; /* message to output in MSGOUT_PHASE */
+ volatile unsigned char last_message[10]; /* last message OUT */
+ volatile Scsi_Cmnd *issue_queue; /* waiting to be issued */
+ volatile Scsi_Cmnd *disconnected_queue; /* waiting for reconnect */
+ volatile Scsi_Cmnd *sel_cmd; /* command for selection */
+ volatile Scsi_Cmnd *connected; /* currently connected command */
+ volatile unsigned char busy[8]; /* index = target, bit = lun */
+ unsigned char sync_per[8]; /* synchronous transfer period (in effect) */
+ unsigned char sync_off[8]; /* synchronous offset (in effect) */
+ unsigned char sync_neg[8]; /* sync. negotiation performed (in effect) */
+ unsigned char sync_en[8]; /* sync. negotiation performed (in effect) */
+ unsigned char max_rate[8]; /* max. transfer rate (setup) */
+ unsigned char max_offset[8]; /* max. sync. offset (setup), only valid if corresponding sync_en is nonzero */
+};
extern struct proc_dir_entry proc_scsi_am53c974;
@@ -71,14 +71,13 @@
}
void AM53C974_setup(char *str, int *ints);
-int AM53C974_detect(Scsi_Host_Template *tpnt);
+int AM53C974_detect(Scsi_Host_Template * tpnt);
int AM53C974_release(struct Scsi_Host *shp);
-int AM53C974_biosparm(Disk *disk, int dev, int *info_array);
+int AM53C974_biosparm(Disk * disk, int dev, int *info_array);
const char *AM53C974_info(struct Scsi_Host *);
-int AM53C974_command(Scsi_Cmnd *SCpnt);
-int AM53C974_queue_command(Scsi_Cmnd *cmd, void (*done)(Scsi_Cmnd *));
-int AM53C974_abort(Scsi_Cmnd *cmd);
-int AM53C974_reset (Scsi_Cmnd *cmd, unsigned int);
-
-#endif /* AM53C974_H */
+int AM53C974_command(Scsi_Cmnd * SCpnt);
+int AM53C974_queue_command(Scsi_Cmnd * cmd, void (*done) (Scsi_Cmnd *));
+int AM53C974_abort(Scsi_Cmnd * cmd);
+int AM53C974_reset(Scsi_Cmnd * cmd, unsigned int);
+#endif /* AM53C974_H */
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov