summaryrefslogtreecommitdiff
path: root/sys/scsi/ses.c
AgeCommit message (Expand)Author
2021-10-24Constify struct cfattach.Martin Pieuchot
2020-09-22Since dlg@'s 2009 scsi midlayer refactoring the 'struct scsi_generic *cmd'Kenneth R Westerback
2020-09-12No need to check inq for NULL when it always points at the inqdata inside aKenneth R Westerback
2020-06-30Nuke unneeded 'sa_inqbuf' member of struct scsi_attach_args. It alwaysKenneth R Westerback
2019-12-07Various cleanup tweaks. 'return' is not a function. KNF. Whitespace,Kenneth R Westerback
2019-11-23Consistently use SET() to set bits.Kenneth R Westerback
2019-09-27Add/tweak #endif comments to make spelunking via grep more rewarding.Kenneth R Westerback
2019-09-01Adopt the SCSI versioning #define's from FreeBSD. Eliminate theKenneth R Westerback
2019-08-28Introduce SCSI0(), SCSI2() and SCSI3() defines to clarify (some) usesKenneth R Westerback
2015-08-23add some sizes to free. looked over by deraadtTed Unangst
2014-09-14remove uneeded proc.h includesJonathan Gray
2014-09-13Replace all queue *_END macro calls except CIRCLEQ_END with NULL.Doug Hogan
2014-07-12add a size argument to free. will be used soon, but for now default to 0.Ted Unangst
2011-03-17use dma_alloc/dma_free instead of malloc to allocate buffers which needTheo de Raadt
2010-08-30Avoid possible aliasing-related compiler issues by always writing toMatthew Dempsky
2010-08-02Don't refer to xs->cmd, even via a pointer to xs->cmd, after xs hasKenneth R Westerback
2010-07-22Eliminate scsi_scsi_cmd() now that ss(4) is gone and with it theKenneth R Westerback
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-05-04lockmgr -> rwlock.Kenneth R Westerback
2007-03-22split userland & kernel struct sensor/sensordev so that the additionTheo de Raadt
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-07-16take a 1k array off the stack by using malloc to get it. found by miod.David Gwynne
2006-05-11Zap trailing whitespace.Kenneth R Westerback
2006-05-09make sensor names look more normal; ok dlgTheo de Raadt
2006-04-20Fix various printf() issues: too many arguments, not enough arguments, argumentMiod Vallat
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-11-19Remove unnecessary lockmgr() archaism that was costing too much in termsPedro Martelletto
2005-11-13lock accesses to the buffer so that it wont get confused between theDavid Gwynne
2005-11-13if the particular ses device has no slots or sensors to handle, then freeDavid 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-09-29fix the check for the type of enclosureDavid Gwynne
2005-08-23setting the FAULT flag on a device so the alarm led blinks may haveDavid 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-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-13let safte match on dell enclosures too. ses takes precedence thoughDavid Gwynne
2005-08-10use the appropriate flags to scsi_scsi_cmd during autoconf so we dont spinDavid Gwynne
2005-08-09normalise the fan speed outputDavid Gwynne
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-05reorder the allocation of bits in attach to make cleaning up on an errorDavid Gwynne
2005-08-04the generic scsi attach line already says we're an enclosure, so why didDavid Gwynne