summaryrefslogtreecommitdiff
path: root/sys/scsi/safte.c
AgeCommit message (Expand)Author
2019-09-01Adopt the SCSI versioning #define's from FreeBSD. Eliminate theKenneth R Westerback
2019-08-28Recast "SCSISPC() != 2" into "!SCSI2() || SCSI3()", i.e. "!= 2" intoKenneth R Westerback
2019-08-24KNF tweak.Kenneth R Westerback
2015-08-23add some sizes to free. looked over by deraadtTed Unangst
2015-06-07More damned eye searing whitespace.Kenneth R Westerback
2014-09-14remove uneeded proc.h includesJonathan Gray
2014-07-13use mallocarray where arguments are multiplied; ok teduTheo de Raadt
2014-07-12add a size argument to free. will be used soon, but for now default to 0.Ted Unangst
2011-06-15factor the common bits out of code that builds scsi inquiry commands intoDavid Gwynne
2011-03-17use dma_alloc/dma_free instead of malloc to allocate buffers which needTheo de Raadt
2010-09-27A few M_ZEROs without any M_WAITOK/M_NOWAITs.Thordur I. Bjornsson
2010-08-30Avoid possible aliasing-related compiler issues by always writing toMatthew Dempsky
2010-07-22Fix a few more scsi_scsi_cmd() removal regressions, caught byMatthew Dempsky
2010-07-22style(9) fix and release rwlock(9) if scsi_xs_get() returns NULL,Matthew Dempsky
2010-07-22In safte_match(), return 0 on SCSI errors, not an errno value. FixesMatthew Dempsky
2010-07-22Eliminate scsi_scsi_cmd() now that ss(4) is gone and with it theKenneth R Westerback
2009-01-20Prevent unaligned access.Mark Kettenis
2007-09-16MALLOC/FREE -> malloc/free, M_ZERO, extraneous casts,Kenneth R Westerback
2007-09-07The obvious bzero/memset -> M_ZERO changes.Kenneth R Westerback
2007-06-24rework sensor tasks to use the kernels generic workq rather than a specialDavid Gwynne
2007-06-01backout r1.33: temperature sensor description was removed on purpose,Constantine A. Murenin
2007-04-03modernise scsi_inquiry. the length field has grown and now theres pages toDavid Gwynne
2007-03-22split userland & kernel struct sensor/sensordev so that the additionTheo de Raadt
2007-02-21Add missing sensor description for temperature.Deanna Phillips
2006-12-23adapt to new two-level sensor api; Constantine A. MureninTheo de Raadt
2006-11-28rename scsibus_attach_args to scsi_attach_args. this can help avoidDavid Gwynne
2006-10-01Free sensors on detach.Alexander Yurchenko
2006-07-29The version field of scsi_inquiry_data is not a simple numeric valueKenneth R Westerback
2006-05-21replace lockmgr with rwlock.David Gwynne
2006-05-09make sensor names look more normal; ok dlgTheo de Raadt
2006-01-19Replace SENSOR_ADD() macro with a pair of functionsAlexander Yurchenko
2006-01-11dont print anything if we're unable to read the status pageDavid Gwynne
2005-12-02Missing 'break;'. Spotted by lint.Kenneth R Westerback
2005-11-19Remove unnecessary lockmgr() archaism that was costing too much in termsPedro Martelletto
2005-11-13lock updates to the buffer with the enclosure status in it so that oneDavid Gwynne
2005-11-12there are two things that safte does: update sensors and blink lights. ifDavid 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-08-24dont reject safte devices that have more inquiry information than theDavid Gwynne
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-21handle the unblink request; ok dlg marco krwTheo de Raadt
2005-08-18das blinkenlighten! uses /dev/bio to allow an ioctl to turn identify onDavid Gwynne
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-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-10use the appropriate flags to scsi_scsi_cmd during autoconf so we dont spinDavid Gwynne