diff options
author | jhb <jhb@FreeBSD.org> | 2006-09-22 22:11:29 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2006-09-22 22:11:29 +0000 |
commit | cdd54d372bfbeaef61a9ae75207eb95fcea95a5a (patch) | |
tree | b4530401f4d668bcc04bd21e8a352cd811260fba /sys/modules/ipmi/Makefile | |
parent | 22a36e67f2dc507b9d579ccc4b1a81de4741c860 (diff) | |
download | FreeBSD-src-cdd54d372bfbeaef61a9ae75207eb95fcea95a5a.zip FreeBSD-src-cdd54d372bfbeaef61a9ae75207eb95fcea95a5a.tar.gz |
Update the ipmi(4) driver:
- Split out the communication protocols into their own files and use
a couple of function pointers in the softc that the commuication
protocols setup in their own attach routine.
- Add support for the SSIF interface (talking to IPMI over SMBus).
- Add an ACPI attachment.
- Add a PCI attachment that attaches to devices with the IPMI interface
subclass.
- Split the ISA attachment out into its own file: ipmi_isa.c.
- Change the code to probe the SMBIOS table for an IPMI entry to just use
pmap_mapbios() to map the table in rather than trying to setup a fake
resource on an isa device and then activating the resource to map in the
table.
- Make bus attachments leaner by adding attach functions for each
communication interface (ipmi_kcs_attach(), ipmi_smic_attach(), etc.)
that setup per-interface data.
- Formalize the model used by the driver to handle requests by adding an
explicit struct ipmi_request object that holds the state of a given
request and reply for the entire lifetime of the request. By bundling
the request into an object, it is easier to add retry logic to the various
communication backends (as well as eventually support BT mode which uses
a slightly different message format than KCS, SMIC, and SSIF).
- Add a per-softc lock and remove D_NEEDGIANT as the driver is now MPSAFE.
- Add 32-bit compatibility ioctl shims so you can use a 32-bit ipmitool
on FreeBSD/amd64.
- Add ipmi(4) to i386 and amd64 NOTES.
Submitted by: ambrisko (large portions of 2 and 3)
Sponsored by: IronPort Systems, Yahoo!
MFC after: 6 days
Diffstat (limited to 'sys/modules/ipmi/Makefile')
-rw-r--r-- | sys/modules/ipmi/Makefile | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/sys/modules/ipmi/Makefile b/sys/modules/ipmi/Makefile index 966ccd8..3f45c73 100644 --- a/sys/modules/ipmi/Makefile +++ b/sys/modules/ipmi/Makefile @@ -2,8 +2,12 @@ .PATH: ${.CURDIR}/../../dev/ipmi +# XXX - ipmi_smbus and ipmi_ssif depend on smbus +# XXX - ipmi_acpi depends on acpi KMOD= ipmi -SRCS= ipmi.c ipmi_pci.c ipmi_smbios.c -SRCS+= bus_if.h device_if.h pci_if.h vnode_if.h +SRCS= ipmi.c ipmi_kcs.c ipmi_smic.c ipmi_smbios.c ipmi_ssif.c +SRCS+= ipmi_acpi.c ipmi_isa.c ipmi_pci.c ipmi_smbus.c +SRCS+= opt_acpi.h +SRCS+= acpi_if.h bus_if.h device_if.h isa_if.h pci_if.h smbus_if.h .include <bsd.kmod.mk> |