Lines Matching +full:ipmi +full:- +full:smic
1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
44 ACPI_MODULE_NAME("IPMI")
47 #include <ipmi.h>
50 #include <sys/ipmi.h>
51 #include <dev/ipmi/ipmivars.h>
66 if (acpi_disabled("ipmi")) in ipmi_acpi_probe()
70 device_set_desc(dev, "IPMI System Interface"); in ipmi_acpi_probe()
99 mode = "SMIC"; in ipmi_acpi_attach()
121 sc->ipmi_io_rid = 0; in ipmi_acpi_attach()
122 sc->ipmi_io_res[0] = bus_alloc_resource_any(dev, type, in ipmi_acpi_attach()
123 &sc->ipmi_io_rid, RF_ACTIVE); in ipmi_acpi_attach()
124 sc->ipmi_io_type = type; in ipmi_acpi_attach()
125 sc->ipmi_io_spacing = 1; in ipmi_acpi_attach()
126 if (sc->ipmi_io_res[0] == NULL) { in ipmi_acpi_attach()
133 sc->ipmi_io_rid = i; in ipmi_acpi_attach()
134 sc->ipmi_io_res[i] = bus_alloc_resource_any(dev, type, in ipmi_acpi_attach()
135 &sc->ipmi_io_rid, RF_ACTIVE); in ipmi_acpi_attach()
136 if (sc->ipmi_io_res[i] == NULL) in ipmi_acpi_attach()
139 sc->ipmi_io_rid = 0; in ipmi_acpi_attach()
142 if (sc->ipmi_io_res[1] != NULL && sc->ipmi_io_res[count - 1] == NULL) { in ipmi_acpi_attach()
150 (uintmax_t)rman_get_start(sc->ipmi_io_res[0]), in ipmi_acpi_attach()
153 sc->ipmi_dev = dev; in ipmi_acpi_attach()
159 sc->ipmi_irq_rid = 0; in ipmi_acpi_attach()
160 sc->ipmi_irq_res = bus_alloc_resource_any(dev, SYS_RES_IRQ, in ipmi_acpi_attach()
161 &sc->ipmi_irq_rid, RF_SHAREABLE | RF_ACTIVE); in ipmi_acpi_attach()
168 * We assume an alignment of 1 byte as currently the IPMI spec in ipmi_acpi_attach()
204 "ipmi",