summaryrefslogtreecommitdiff
path: root/sys/scsi
AgeCommit message (Expand)Author
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
2005-11-12there are two things that safte does: update sensors and blink lights. ifDavid Gwynne
2005-11-12clean up unused includesDavid Gwynne
2005-11-12remove the ses kthread goop and use the sensor kthread for updates insteadDavid Gwynne
2005-11-11include sys/device.h. builds on sparc. dlg@ ok.Federico G. Schwindt
2005-11-10remove half the includes since they seem to be unnecessary.David Gwynne
2005-11-10i am a stupid head. unbreak kernels that done have the bio(4) device.David Gwynne
2005-11-10cut safte over to using the generic sensors kthread.David Gwynne
2005-11-07Death to superfluous verbiage. Suppress errors when getting the parametersKenneth R Westerback
2005-11-02Abstract delay code out and call it directly from XX_interpret_sense.Kenneth R Westerback
2005-10-22When a scsi command is waiting for an opening or is waiting to be retried,Kenneth R Westerback
2005-10-16Don't pound UNIT ATTENTION retries in as fast as possible. If we areKenneth R Westerback
2005-10-15Eliminate unnecessary bzero() by only writing valid information.Kenneth R Westerback
2005-10-14Eliminate uneeded variable 'i' and use under utilized 'data_track'Kenneth R Westerback
2005-10-11use [bl]etohXX instead of ntoh[sl], makes the code more consistent andHans-Joerg Hoexer
2005-10-11Change some byte shifting to _4btol() and swap32() calls.Kenneth R Westerback
2005-10-10Some KNF. malloc/free instead of MALLOC/FREE since it's a variableKenneth R Westerback
2005-10-10Make some panic messages more useful.Kenneth R Westerback
2005-10-04shorter name for wait channelTheo de Raadt
2005-09-29fix the check for the type of enclosureDavid Gwynne
2005-09-29Clear SDEV_MEDIA_LOADED for cd media on the last close of a device, asKenneth R Westerback
2005-09-26Use SCSI_IGNORE_ILLEGAL_REQUEST when reading a cd's table of contents.Kenneth R Westerback
2005-09-21Improve readability by using a variable instead of repeatedKenneth R Westerback
2005-09-21Missing parenthesis. Same problem was addressed in sd.c r1.90. CouldKenneth R Westerback
2005-09-19Use variable to eliminate repeated calculation. More readable. NoKenneth R Westerback
2005-09-15Don't fake MODE SENSE page 4 info inside raid drivers, just let sdKenneth R Westerback
2005-09-11Simplify code by changing struct scsi_mode_sense_buf{ union {}Kenneth R Westerback
2005-09-11Some UMASS devices blow up if MODE SENSE buffer length is 0 (aka 256).Kenneth R Westerback