summaryrefslogtreecommitdiff
path: root/sys/scsi
AgeCommit message (Expand)Author
2005-08-29If a buffer larger than the max allowed is offered to scsi_mode_sense()Kenneth R Westerback
2005-08-29Make sure certain architectures/compilers don't round up the size ofKenneth R Westerback
2005-08-27Put in missing parenthesis and thus always passKenneth R Westerback
2005-08-24dont reject safte devices that have more inquiry information than theDavid Gwynne
2005-08-24Test xs->bp before de-referencing it. Initialize it to NULL, not 0.Kenneth R Westerback
2005-08-23setting the FAULT flag on a device so the alarm led blinks may haveDavid Gwynne
2005-08-23Move uses of struct scsi_mode_sense_buf (255 bytes each) from theKenneth R Westerback
2005-08-23Spin up sd units even if TEST_UNIT_READY says they're ready.Kenneth R Westerback
2005-08-23Test for cold and apply relevant flags for all scsi commands.Marco Peereboom
2005-08-22check for scsi_autoconf state, spotted by marco; ok krwTheo de Raadt
2005-08-22spell: failture->failureDavid Krause
2005-08-21handle the unblink request; ok dlg marco krwTheo de Raadt
2005-08-21Some devices go berserk when asked for mode sense pages they don'tKenneth R Westerback
2005-08-18Only allow blocksizes that are powers of 2 between 512 and 64K. An sdKenneth R Westerback
2005-08-18Silly dlg did not read my old code careful enough. Missed 2 bits that areMarco Peereboom
2005-08-18infrastructure to support blinking controlled via /dev/bio ioctls. theDavid Gwynne
2005-08-18das blinkenlighten! uses /dev/bio to allow an ioctl to turn identify onDavid Gwynne
2005-08-17add a macro for the WRITE_BUFFER opcodeDavid Gwynne
2005-08-17Use defines for disk mode page codes. Check returned mode pages toKenneth R Westerback
2005-08-17dont increment the offset both in and out of the loop while reading theDavid Gwynne
2005-08-15free the right buffer on errorDavid Gwynne
2005-08-13Use scsi_do_mode_sense(). Testing on beck@'s new LTO changer.Kenneth R Westerback
2005-08-13let safte match on dell enclosures too. ses takes precedence thoughDavid Gwynne
2005-08-12rewrite the reading of the status page, which in turn adds support forDavid Gwynne
2005-08-12Move disk mode page structure declarations out of scsi_disk_pagesKenneth R Westerback
2005-08-11typosDavid Gwynne
2005-08-10use the appropriate flags to scsi_scsi_cmd during autoconf so we dont spinDavid Gwynne
2005-08-09Add Vital Product Data structure. Requested deraadt@ ok dlg@Marco Peereboom
2005-08-09normalise the fan speed outputDavid Gwynne
2005-08-08Fill in device structure, bad dlg@Marco Peereboom
2005-08-08Fill in device structure, bad dlg@Marco Peereboom
2005-08-05report the fan speed as a percentage since it seems all the enclosures weDavid Gwynne
2005-08-05dont do an inquiry in attach just to print the safte revision number. itDavid Gwynne
2005-08-05switch safte from using a scsi cmd at softclock to doing the commandsDavid Gwynne
2005-08-05reorder the allocation of bits in attach to make cleaning up on an errorDavid Gwynne
2005-08-05READ BUFFER is a generic opcode, so dont define our ownDavid Gwynne
2005-08-05a define for the scsi READ BUFFER opcodeDavid Gwynne
2005-08-05shorten dmesg outputTheo de Raadt
2005-08-05scsi_safte.c and scsi_safte.h are now known as safte.c and safte.hDavid Gwynne
2005-08-05make the naming of the safte files consisten with the rest of the scsiDavid Gwynne
2005-08-04this file is now known as ses.hDavid Gwynne
2005-08-04the generic scsi attach line already says we're an enclosure, so why didDavid Gwynne
2005-08-04be nicer to the controller the ses device is attached to by doing the scsiDavid Gwynne
2005-08-04Add support for dell enclosures that do both SES and SAF-TE. ok dlg@Marco Peereboom
2005-08-04Add SCSI 3 define. ok dlg@Marco Peereboom
2005-08-03Move a couple of 2048+4 byte structures from the stack to the heap.Kenneth R Westerback
2005-08-03report the state of the power supplies. the value shows if the psu is onDavid Gwynne
2005-08-03take advantage of the new ability of the sensors framework to report theDavid Gwynne
2005-08-02read the rpm of the fansDavid Gwynne
2005-08-01a new scsi enclosure services driver. this and safte replace the old sesDavid Gwynne