summaryrefslogtreecommitdiff
path: root/sys/scsi/scsiconf.h
AgeCommit message (Collapse)Author
1997-01-18scsi->moreluns is a bitfield based on target--should be u_int16_t, now.briggs
1997-01-16Added scsiprint from NetBSD, needed by new driver for VAX. -mojMats O Jansson
1997-01-15sc_link.adapter_buswidth, set to 16 if wide scsi. if 0 it gets convertedTheo de Raadt
to 8 internally so that drivers do not need to init it for regular scsi :-)
1996-10-31$OpenBSD RCSIDs + comment fix in sd.cNiklas Hallqvist
1996-08-11limit ioctl priviledgesTheo de Raadt
1996-06-10Several changes:Jason Downs
* Implemented NetBSD PR#2529, adding ZIP 100. * Added MTIOCTOP support to acd, cd, and sd. * Implemented eject on close for acd, cd, and sd. `mt -f /dev/rcd0d offline' now ejects a mounted {acd|cd|sd} when it is unmounted.
1996-04-21partial sync with netbsd 960418, more to comeTheo de Raadt
1996-02-20Sync. with NetBSD:briggs
- scsi prototypes. - Add SCSI scanner support by Kenneth Stailey and Joachim Koenig-Baltes, hacked a but. Needs more work. ss.c: - Truncate to the window size in ssminphys(), not ssread(). - Missed some prototyping foo. - Minor tweak; make sure window size is 0 on close. - Change variable name to avoid GCC warning. - Handle EOF a little differently.
1996-01-14From NetBSD: (required for last change to scsi_base.c in case we getbriggs
"command aborted" status) Handle cases like the following: - controller calls scsi_done() with error XS_TIMEOUT - scsi_done() calls sddone() - sddone() calls disk_unbusy() - scsi_done() calls controller to retry command (missing the call to disk_busy()) - controller calls scsi_done() - scsi_done() calls sddone() - sddone() calls disk_busy(), which panics because of the imbalance. Bug noticed by Leo Weppleman, who also suggested this fix; pass an additional boolean argument ("complete") to the device's "done" routine, with a value of `0' passed from the previous call to "done", and add an additional call to "done" when the xfer resources are freed.
1996-01-10Save inquiry flags in sc_link so low-level drivers can use it.briggs
1995-10-18initial import of NetBSD treeTheo de Raadt