summaryrefslogtreecommitdiffstats
path: root/sys/scsi/uk.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Explicitly #include <scsi/scsi_debug.h> rather than assuming scsiconf.h will dokrw2020-08-111-1/+2
| | | | | | | it. Prepares for removal of #include <scsi/scsi_debug.h> from scsiconf.h as soon as the alpha tester digs out from hurricane to compile last untested files.
* Various cleanup tweaks. 'return' is not a function. KNF. Whitespace,krw2019-12-071-2/+2
| | | | Comment fixes.
* Various cleanup tweaks. 'return' is not a function. KNF. Whitespace,krw2019-12-051-17/+17
| | | | Comment fixes.
* Consistently use ISSET() to check for set flags.krw2019-11-231-2/+2
|
* Consistently use SET() to set bits.krw2019-11-231-2/+2
|
* Be consistent and always use CLR() to clear flags.krw2019-11-221-2/+2
|
* If you use sys/param.h, you don't need sys/types.hderaadt2017-09-081-2/+1
|
* Standardize on calling local scsi_link variables 'link' instead ofkrw2016-03-121-12/+12
| | | | | | | | | | | 'sc_link'. 'sc_link' is a field in the various device *_softc structures, where the sc_ prefix was for 'softc'. Reduces potential mental confusion. Newer code from down under was already using 'link'. No functional change. Prompted by bluhm@'s adventures in scsi. ok dlg@ jmatthew@
* Make uk(4) look more like sd(4) and cd(4) by adding a uklookup()matthew2011-06-011-17/+32
| | | | | | | wrapper for device_lookup(), and renaming the uk local variables to sc. ok krw@
* Add ukdetach() so that detaching an unknown SCSI device doesn't resultmatthew2011-03-181-2/+21
| | | | | | in a kernel panic. ok krw@
* Die struct scsi_device! Die! Instead, save a pointer to the routinekrw2010-07-011-12/+1
| | | | | | | | | | | | to interpret sense errors. This is initialized to the basic interpretation routine, and specific scsi drivers (sd/st/cd) can replace this with their own. While here kill EJUSTRETURN dance and make more specialized interpretation routines directly call the basic routine if desired. Fixes by matthew@ to my first diff. Most original work by dlg@. ok matthew@ marco@ dlg@
* dont pass the dev_t from the scsi device drivers into the midlayer fordlg2010-06-151-2/+2
| | | | | | | ioctl requests, and dont pass the proc pointers around for any ioctl requests in scsi land at all. neither were used, so trim the fat. ok krw@ marco@
* typos; ok jmc@martynas2007-11-271-2/+2
| | | | sys/dev/pci/pciide.c from naddy@
* rename scsibus_attach_args to scsi_attach_args. this can help avoiddlg2006-11-281-2/+2
| | | | | | | confusing when trying to attach scsibus to a hba, since it is really meant for attaching scsi devices to scsibus. ok deraadt@ marco@
* get rid of useless printfs that just clutter dmesg.dlg2006-07-111-6/+3
| | | | ok deraadt@
* ansi and knf. no binary change.dlg2006-07-111-50/+31
|
* Zap trailing whitespace.krw2006-05-111-3/+3
|
* De-register scsi.krw2005-04-061-2/+2
|
* First round of __P removal in sysmillert2002-03-141-3/+3
|
* * Make scsi_do_ioctl() sane again.downsj1997-08-311-2/+2
| | | | * Use scsi_do_ioctl() in cd.c and uk.c again.
* Fixed prototype errors, reviewed & approved by deraadtniklas1996-10-041-3/+9
|
* limit ioctl priviledgesderaadt1996-08-111-2/+2
|
* partial sync with netbsd 960418, more to comederaadt1996-04-211-9/+13
|
* NetBSD 960317 mergeniklas1996-04-191-2/+4
|
* initial import of NetBSD treederaadt1995-10-181-0/+174