summaryrefslogtreecommitdiffstats
path: root/sys/i386/include
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2004-05-04 21:17:52 +0000
committerjhb <jhb@FreeBSD.org>2004-05-04 21:17:52 +0000
commite7ea4d6595c69e6d30df8b526a0047fdffe66908 (patch)
tree6cdccb56a7152e273017aceacad7015746d2f71d /sys/i386/include
parenta11e3152f3bc324212fd54cab137aa464b64951d (diff)
downloadFreeBSD-src-e7ea4d6595c69e6d30df8b526a0047fdffe66908.zip
FreeBSD-src-e7ea4d6595c69e6d30df8b526a0047fdffe66908.tar.gz
- Create a pir0 psuedo device as a child of legacy0 if we attach a legacy
host-PCI bridge device and find a valid $PIR. - Make pci_pir_parse() private to pci_pir.c and have pir0's attach routine call it instead of having legacy_pcib_attach() call it. - Implement suspend/resume support for the $PIR by giving pir0 a resume method that calls the BIOS to reroute each link that was already routed before the machine was suspended. - Dump the state of the routed flag in the links display code. - If a link's IRQ is set by a tunable, then force that link to be re-routed the first time it is used. - Move the 'Found $PIR' message under bootverbose as the pir0 description line lists the number of entries already. The pir0 line also only shows up if we are actually using the $PIR which is a bonus. - Use BUS_CONFIG_INTR() to ensure that any IRQs used by a PCI link are set to level/low trigger/polarity.
Diffstat (limited to 'sys/i386/include')
-rw-r--r--sys/i386/include/pci_cfgreg.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/sys/i386/include/pci_cfgreg.h b/sys/i386/include/pci_cfgreg.h
index 721df1c..4bbfe72 100644
--- a/sys/i386/include/pci_cfgreg.h
+++ b/sys/i386/include/pci_cfgreg.h
@@ -51,6 +51,5 @@ int pci_cfgregopen(void);
u_int32_t pci_cfgregread(int bus, int slot, int func, int reg, int bytes);
void pci_cfgregwrite(int bus, int slot, int func, int reg, u_int32_t data, int bytes);
void pci_pir_open(void);
-void pci_pir_parse(void);
int pci_pir_probe(int bus, int require_parse);
int pci_pir_route_interrupt(int bus, int device, int func, int pin);
OpenPOWER on IntegriCloud