Lines Matching defs:ipmi
28 * The ipmi driver is an openipmi compatible IPMI driver based on the FreeBSD
58 #include <sys/ipmi.h>
79 smbios_ipmi_t ipmi;
81 if (ksmbios == NULL || smbios_info_ipmi(ksmbios, &ipmi) == SMB_ERR)
84 cmn_err(CE_CONT, "!SMBIOS type 0x%x, addr 0x%llx", ipmi.smbip_type,
85 (long long unsigned int)(ipmi.smbip_addr));
92 if (ipmi.smbip_addr == NULL) {
97 sc->ipmi_io_type = ipmi.smbip_type;
98 switch (ipmi.smbip_type) {
101 sc->ipmi_io_address = ipmi.smbip_addr;
102 sc->ipmi_io_mode = (ipmi.smbip_flags & SMB_IPMI_F_IOADDR) ?
104 sc->ipmi_io_spacing = ipmi.smbip_regspacing;
107 if ((ipmi.smbip_addr & 0xffffffffffffff00) != 0) {
110 sc->ipmi_io_address = ipmi.smbip_i2c;
112 sc->ipmi_io_address = ipmi.smbip_addr;
119 if (ipmi.smbip_intr > 15) {
121 ipmi.smbip_intr);
125 sc->ipmi_io_irq = ipmi.smbip_intr;
538 if (ddi_create_minor_node(dip, "ipmi", S_IFCHR, 0, DDI_PSEUDO,
623 &mod_driverops, "ipmi driver", &ipmi_ops