summaryrefslogtreecommitdiffstats
path: root/sys/dev/ipmivar.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Implement FreeBSD-compatible IOCTL to access BMC in ipmi(4)uebayasi2016-02-051-15/+12
| | | | | | Initial help & testing by jmatthew@ Code review & input by mpi@ Final review & OK by jsg@
* Use task to execute command except polling context.uebayasi2016-01-121-1/+3
|
* Use task to execute watchdog tickle.uebayasi2016-01-121-1/+3
|
* Make sendmsg() and recvmsg() functions take only struct ipmi_cmd *.uebayasi2016-01-111-9/+11
| | | | | Handle interface specific command length more nicely. No functional changes.
* Allocate command data buffer on softc and use it from both ipmi_sendcmd()uebayasi2016-01-111-2/+5
| | | | and ipmi_recvcmd(). No functional changes.
* Refactor buildmsg() functions to take struct ipmi_cmd * instead of 6uebayasi2016-01-111-3/+3
| | | | arguments. No functional changes.
* Introduce struct ipmi_cmd and have ipmi_cmd() function. IPMI commanduebayasi2016-01-111-1/+18
| | | | | | | | sequence is always a pair of send and receive; call both from ipmi_cmd(). By making ipmi_cmd() take only one argument struct ipmi_cmd *, this also helps to prepare to call ipmi_cmd() as a task. No functional changes intended.
* Remove useless sc_poll flag because it is always 1. Remove unused globaluebayasi2016-01-111-3/+1
| | | | ipmi_poll too.
* When stopping wdog (via wdog_shutdown() e.g. before entering shutdown),uebayasi2016-01-101-1/+3
| | | | | | | clear DONTSTOP bits. Without this, BMC records, at least on some NEC servers, watchdog timer expiration event, which only confuses admins. OK kettenis@
* Fix impi(4) to make watchdog work and not to panic.yasuoka2015-01-071-8/+20
| | | | | diff from uebayasi jsg ok uebayasi
* split userland & kernel struct sensor/sensordev so that the additionderaadt2007-03-221-2/+2
| | | | | | of new fields in the future is less disruptive. This is done similar to how struct proc is handled for ps(1). ok jmc (man page changes) tested fkr simon, and more suggestions from millert
* adapt to new two-level sensor api; Constantine A. Mureninderaadt2006-12-231-1/+3
|
* Only read 1 sensor at a time instead of all of them. This should helpmarco2006-07-281-1/+3
| | | | | | | | systems that have a burst of activity every 10 seconds. Also lower the polling frequency from 10 to 5 seconds. ok jordan@
* Replace lockmgr with rwlock; help and ok marco@alek2006-05-211-2/+3
|
* Kill evil spacing.marco2006-05-151-26/+26
|
* Make _bmc_io_wait 1 second instead of 500ms.marco2006-05-151-1/+3
| | | | | | | Prevent multiple reads and writes to the bmc at the same time which could interrupt a complete bmc transaction. tested by various people.
* Add smbios support for i386 and amd64, fix ipmi to use this new functionallity,gwk2006-05-081-50/+1
| | | | | | hook up some sysctls to add system vendor/product/version and UUID reporting. "get it in" deraadt@
* remove a block of duplicated defines, ok marcowilfried2006-05-061-40/+1
|
* Kill all typedef struct goo.marco2006-01-051-17/+17
|
* Make bitfields readable. ok jordan@marco2006-01-041-10/+11
|
* Fix 2 issues reported by beck.marco2005-12-161-1/+17
| | | | | | | | | | | 1. Sun v20z rebooted dunring autoconf. This was due to reading a byte and discarding it at an inapropriate time. 2. The Sun is so fast that it could exhaust the busy counter. This has been replaced with a timeout/tsleep mechanism that is more predictable. As a bonus we no longer busy wait in ipmi which should improve overall throughput. ok beck@ jordan@ dlg@
* Added ipmi watchdog code, based on esm watchdog code by dlg@jordan2005-11-281-1/+22
| | | | | Added signextend function to cleanup conversion routine ok marco@
* __attribute__((packed)) is a gccism. use __packed instead which will bedlg2005-11-101-7/+7
| | | | expanded to the directive appropriate to the current compiler.
* KNF fixesjordan2005-10-191-5/+5
| | | | ok marco@
* Oops.. part of ipmi_thread fixesjordan2005-10-191-9/+20
| | | | ok marco@
* Scan SMBIOS before calling config_attach() to prevent unnecessary kernel print.marco2005-10-181-1/+3
| | | | | Written with jordan@ help. ok deraadt@
* spacingderaadt2005-10-041-3/+3
|
* Add initial IPMI implementation. Currently only the KCS retrieval method ismarco2005-10-041-0/+317
supported. SMIC and BMC are being worked on. IPMI will remain disabled for now. Code written by Jordan Hargrave <jordan underscore hargrave at hotmail dot com> help grange@ and deraadt@ ok deraadt@