summaryrefslogtreecommitdiff
path: root/sys/scsi/ses.c
AgeCommit message (Collapse)Author
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
unwanted side effects, eg, disabling both fc ports and powering the disk down. so remove this knob for now. ok deraadt@
2005-08-23Test for cold and apply relevant flags for all scsi commands.Marco Peereboom
ok dlg@ krw@ deraadt@
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
necessary for the blinkenlight magic. Also removed some XXX cruft that was misleading.
2005-08-18infrastructure to support blinking controlled via /dev/bio ioctls. theDavid Gwynne
code to do the actual blink is ifdefed out till marco can figure out what im doing wrong.
2005-08-13let safte match on dell enclosures too. ses takes precedence thoughDavid Gwynne
ok marco@ deraadt@
2005-08-10use the appropriate flags to scsi_scsi_cmd during autoconf so we dont spinDavid Gwynne
forever on mp kernels problem reported by matthieu baptiste
2005-08-09normalise the fan speed outputDavid Gwynne
ok marco@
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
fill in the rpm fields. your call deraadt@
2005-08-05reorder the allocation of bits in attach to make cleaning up on an errorDavid Gwynne
shorter and less prone to mistakes ok marco@
2005-08-04the generic scsi attach line already says we're an enclosure, so why didDavid Gwynne
i make it say the second line that says the same thing?
2005-08-04be nicer to the controller the ses device is attached to by doing the scsiDavid Gwynne
commands in a kernel thread, not out of softclock with a timeout. help from pascoe@ ok marco@
2005-08-04Add support for dell enclosures that do both SES and SAF-TE. ok dlg@Marco Peereboom
2005-08-03report the state of the power supplies. the value shows if the psu is onDavid Gwynne
or off, but sysctl doesnt know how to display it (yet). requested by marco@
2005-08-03take advantage of the new ability of the sensors framework to report theDavid Gwynne
status ok marco@ beck@ henning@ deraadt@
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
driver. rather than relying on its own set of tools, ses reports the enclosure status via the hw.sensors sysctl tree. so far only temperature is reported ok marco@ deraadt@ krw@
2005-07-31remove the ses driver. it has never been enabled in GENERIC on any archDavid Gwynne
in openbsds lifetime so noone is going to miss it. if you did enable it, it either didnt work or the data was hard to read and usually wrong. ok deraadt@ marco@
2004-05-09Add missing <cr>'s to various SC_DEBUG() calls, along with a few otherKenneth R Westerback
SC_DEBUG() spacing tweaks. ok deraadt@
2004-01-03put an mi wrapper around stdarg.h/varargs.h. gcc3 moved stdarg/varargs macrosMarc Espie
to built-ins, so eventually we will have one version of these files. Special adjustments for the kernel to cope: machine/stdarg.h -> sys/stdarg.h and machine/ansi.h needs to have a _BSD_VA_LIST_ for syslog* prototypes. okay millert@, drahn@, miod@.
2003-08-06Remove some double semicolons (hmm, do two semis equal a maxi?).Todd C. Miller
I've skipped the GNU stuff for now. From Patrick Latifi.
2002-03-15Kill #if __STDC__ used to do K&R vs. ANSI varargs/stdarg; just do thingsTodd C. Miller
the ANSI way.
2002-03-14First round of __P removal in sysTodd C. Miller
2001-06-22KNFTheo de Raadt
2000-02-21add SES/SAF-TE SCSI devicemjacob