aboutsummaryrefslogtreecommitdiff
path: root/sys/i386/include
diff options
context:
space:
mode:
authorJohn Baldwin <jhb@FreeBSD.org>2004-05-04 21:17:52 +0000
committerJohn Baldwin <jhb@FreeBSD.org>2004-05-04 21:17:52 +0000
commit7a64d8d74c6ad29bbf63dad4964dd168372bf865 (patch)
tree6cdccb56a7152e273017aceacad7015746d2f71d /sys/i386/include
parent635af77a22a145b3da179ae58ff75c4d3a2bd1a7 (diff)
downloadsrc-7a64d8d74c6ad29bbf63dad4964dd168372bf865.tar.gz
src-7a64d8d74c6ad29bbf63dad4964dd168372bf865.zip
- 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.
Notes
Notes: svn path=/head/; revision=128933
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 721df1cba05b..4bbfe72cb0f8 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);