|
|
1.1 ! root 1: #ifndef _WD7000_H ! 2: ! 3: /* $Id: wd7000.h,v 1.1.1.1 1997/02/25 21:27:53 thomas Exp $ ! 4: * ! 5: * Header file for the WD-7000 driver for Linux ! 6: * ! 7: * John Boyd <[email protected]> Jan 1994: ! 8: * This file has been reduced to only the definitions needed for the ! 9: * WD7000 host structure. ! 10: * ! 11: */ ! 12: ! 13: #include <linux/types.h> ! 14: #include <linux/kdev_t.h> ! 15: ! 16: int wd7000_detect(Scsi_Host_Template *); ! 17: int wd7000_command(Scsi_Cmnd *); ! 18: int wd7000_queuecommand(Scsi_Cmnd *, void (*done)(Scsi_Cmnd *)); ! 19: int wd7000_abort(Scsi_Cmnd *); ! 20: int wd7000_reset(Scsi_Cmnd *); ! 21: int wd7000_biosparam(Disk *, kdev_t, int *); ! 22: ! 23: #ifndef NULL ! 24: #define NULL 0L ! 25: #endif ! 26: ! 27: /* ! 28: * In this version, sg_tablesize now defaults to WD7000_SG, and will ! 29: * be set to SG_NONE for older boards. This is the reverse of the ! 30: * previous default, and was changed so that the driver-level ! 31: * Scsi_Host_Template would reflect the driver's support for scatter/ ! 32: * gather. ! 33: * ! 34: * Also, it has been reported that boards at Revision 6 support scatter/ ! 35: * gather, so the new definition of an "older" board has been changed ! 36: * accordingly. ! 37: */ ! 38: #define WD7000_Q 16 ! 39: #define WD7000_SG 16 ! 40: ! 41: #define WD7000 { NULL, NULL, \ ! 42: NULL, \ ! 43: NULL, \ ! 44: "Western Digital WD-7000", \ ! 45: wd7000_detect, \ ! 46: NULL, \ ! 47: NULL, \ ! 48: wd7000_command, \ ! 49: wd7000_queuecommand, \ ! 50: wd7000_abort, \ ! 51: wd7000_reset, \ ! 52: NULL, \ ! 53: wd7000_biosparam, \ ! 54: WD7000_Q, 7, WD7000_SG, 1, 0, 1, ENABLE_CLUSTERING} ! 55: #endif
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.