diff options
author | John Baldwin <jhb@FreeBSD.org> | 2006-09-22 22:11:29 +0000 |
---|---|---|
committer | John Baldwin <jhb@FreeBSD.org> | 2006-09-22 22:11:29 +0000 |
commit | d72a078647de20e31ab09295e671f1b8b4ad89b2 (patch) | |
tree | b4530401f4d668bcc04bd21e8a352cd811260fba /sys/conf/files.i386 | |
parent | 0a6f8a5050fd3fba7bc70d7357a3a67b24f81ade (diff) | |
download | src-d72a078647de20e31ab09295e671f1b8b4ad89b2.tar.gz src-d72a078647de20e31ab09295e671f1b8b4ad89b2.zip |
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
Notes
Notes:
svn path=/head/; revision=162562
Diffstat (limited to 'sys/conf/files.i386')
-rw-r--r-- | sys/conf/files.i386 | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/sys/conf/files.i386 b/sys/conf/files.i386 index bd569bdeee4c..11419d05c407 100644 --- a/sys/conf/files.i386 +++ b/sys/conf/files.i386 @@ -196,7 +196,13 @@ dev/if_ndis/if_ndis_pci.c optional ndis cardbus | ndis pci dev/if_ndis/if_ndis_usb.c optional ndis usb dev/io/iodev.c optional io dev/ipmi/ipmi.c optional ipmi -dev/ipmi/ipmi_smbios.c optional ipmi isa +dev/ipmi/ipmi_acpi.c optional ipmi acpi +dev/ipmi/ipmi_isa.c optional ipmi isa +dev/ipmi/ipmi_kcs.c optional ipmi +dev/ipmi/ipmi_smic.c optional ipmi +dev/ipmi/ipmi_smbus.c optional ipmi smbus +dev/ipmi/ipmi_smbios.c optional ipmi +dev/ipmi/ipmi_ssif.c optional ipmi smbus dev/ipmi/ipmi_pci.c optional ipmi pci dev/kbd/kbd.c optional atkbd | sc | ukbd | vt dev/le/if_le_isa.c optional le isa |