summaryrefslogtreecommitdiff
path: root/sys/scsi
AgeCommit message (Expand)Author
2006-05-28Fix open(2) semantics for ch(4) to not be completely on fresh minty crack:Bob Beck
2006-05-28Add PCATCH to tsleep flags when a scsi command is waiting for an openingBob Beck
2006-05-28Use TEST_READY_RETRIES_TAPE instead of TEST_READY_RETRIES_DEFAULT,Kenneth R Westerback
2006-05-28Use bit 23 of the device minor to indicate a control mode device. AKenneth R Westerback
2006-05-28Always allow ioctl's to work, even if there is no media loaded.Kenneth R Westerback
2006-05-28Don't print tape media information during probe. This is transitoryKenneth R Westerback
2006-05-21replace lockmgr with rwlock.David Gwynne
2006-05-18paramter -> parameterMiod Vallat
2006-05-18Test the state of a disk *after* spinning it up and not before. ThisKenneth R Westerback
2006-05-13And the fallout from Manuel Pata's USB reader rumbles on ...Kenneth R Westerback
2006-05-13When SCSIDEBUG'ing, display the return value of scsi_interpret_sense()Kenneth R Westerback
2006-05-11Zap trailing whitespace.Kenneth R Westerback
2006-05-09make sensor names look more normal; ok dlgTheo de Raadt
2006-05-07If a device says a MODE SENSE command worked fine, do *not* try a MODEKenneth R Westerback
2006-05-07Zap a bunch of trailing whitespace.Kenneth R Westerback
2006-04-20Fix various printf() issues: too many arguments, not enough arguments, argumentMiod Vallat
2006-03-15Nuke dk_establish(), no longer used.Miod Vallat
2006-03-05Remove NetBSDism NRND. Pointed out by Mickey.Kenneth R Westerback
2006-03-04Typos grab bag of the month, eyeballed by jmc@Miod Vallat
2006-02-06typos from alexey dobriyan;Jason McIntyre
2006-01-21Invoke disk_detach() and related cleanup work in detach(), rather thanMiod Vallat
2006-01-19Replace SENSOR_ADD() macro with a pair of functionsAlexander Yurchenko
2006-01-18Don't index before the start of the sc_link array if scsi_probe_bus()Kenneth R Westerback
2006-01-17Use strchr() from libkern instead of rolling our own.Miod Vallat
2006-01-17Need to device_unreg() the implicit device_ref() done by cdlookup() inMiod Vallat
2006-01-12Don't populate the fabricated disklabel's partition info from trackKenneth R Westerback
2006-01-11dont print anything if we're unable to read the status pageDavid Gwynne
2006-01-08i cant spell my own name.David Gwynne
2005-12-25Cleanup/fix cdgetdisklabel() byKenneth R Westerback
2005-12-23Make cd_load_toc() take an address mode parameter, clean up a bit.Kenneth R Westerback
2005-12-22Move a struct cd_toc (800 bytes) from the stack to malloc'ed memory.Kenneth R Westerback
2005-12-22Initialize data_track before a 'goto done;' could lead to it beingKenneth R Westerback
2005-12-17Kill unreachable code. Found by lint.Kenneth R Westerback
2005-12-15A sanity check for an unsigned variable being < 0 after a subtractionKenneth R Westerback
2005-12-10in ansi c, bitfields must be done against int, unsigned int, or _Bool.Theo de Raadt
2005-12-10in ansi c, bitfields must be done against int, unsigned int, or _Bool.Theo de Raadt
2005-12-08Don't panic for pathological i/o sizes unless minphys() really isKenneth R Westerback
2005-12-02Remove one tab that cause a line to overflow. No functional change.Marco Peereboom
2005-12-02Missing 'break;'. Spotted by lint.Kenneth R Westerback
2005-11-28fix month-old breakage found by genududes (after henning's breakage)Michael Shalayeff
2005-11-19Remove unnecessary lockmgr() archaism that was costing too much in termsPedro Martelletto
2005-11-17Don't forget to device_unref() in sdclose() if sdlock() fails; ok krw@Miod Vallat
2005-11-17Use sectors as the size units for the RAW_PART (i.e. 'c') partition inKenneth R Westerback
2005-11-13Allow removable disks to be spun up if they ask for initializationKenneth R Westerback
2005-11-13ATAPI Tape drives need 6 byte MODE SENSE commands according to atKenneth R Westerback
2005-11-13Use SCSI_DELAY only once. Document it. Default to no delay.Kenneth R Westerback
2005-11-13Use scsi_delay() instead of delay() when waiting for scsi disk toKenneth R Westerback
2005-11-13lock accesses to the buffer so that it wont get confused between theDavid Gwynne
2005-11-13lock updates to the buffer with the enclosure status in it so that oneDavid Gwynne
2005-11-13if the particular ses device has no slots or sensors to handle, then freeDavid Gwynne