Go to the documentation of this file.
25 #include <linux/pci.h>
26 #include <linux/string.h>
28 #include <asm/pci-bridge.h>
30 #include <asm/machdep.h>
44 dbg(
"%s: slot must be power up to get sensor-state\n",
53 dbg(
"%s: power on slot[%s] failed rc=%d.\n",
54 __func__, slot->
name, rc);
60 info(
"%s: slot is unusable\n", __func__);
62 err(
"%s failed to get sensor state\n", __func__);
98 err(
"%s: no pci_bus for dn %s\n", __func__, slot->
dn->full_name);
112 if (!slot->
dn->child) {
113 err(
"%s: slot[%s]'s device_node doesn't have child for adapter\n",
114 __func__, slot->
name);
121 if (!list_empty(&bus->
devices)) {
128 dbg(
"%s: pci_devs of slot[%s]\n", __func__, slot->
dn->full_name);
130 dbg(
"\t%s\n", pci_name(dev));