summaryrefslogtreecommitdiffstats
path: root/sys/amd64/include/pci_cfgreg.h
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>2001-08-21 03:10:55 +0000
committerpeter <peter@FreeBSD.org>2001-08-21 03:10:55 +0000
commita6fa1409cbc02046d100fc143d019e076e5ca3e0 (patch)
treeca5e78a7629795acc383adf7359d25c41c82255c /sys/amd64/include/pci_cfgreg.h
parent4694b279a2481f10ddcc8cd86ff0e76951aadbb3 (diff)
downloadFreeBSD-src-a6fa1409cbc02046d100fc143d019e076e5ca3e0.zip
FreeBSD-src-a6fa1409cbc02046d100fc143d019e076e5ca3e0.tar.gz
Detect a certain type of PCIBIOS brain damage. For some reason,
some bios vendors took it apon themselves to "censor" the host->pci bridges from PCIBIOS callers, even when the caller explicitly asks for them. This includes certain Compaq machines (eg: DL360) and some laptops. If we detect this, shut down pcibios and revert to using IO port bashing. Under -current, apcica does a better job anyway.
Diffstat (limited to 'sys/amd64/include/pci_cfgreg.h')
-rw-r--r--sys/amd64/include/pci_cfgreg.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/amd64/include/pci_cfgreg.h b/sys/amd64/include/pci_cfgreg.h
index 6e79a22..78287cb 100644
--- a/sys/amd64/include/pci_cfgreg.h
+++ b/sys/amd64/include/pci_cfgreg.h
@@ -51,3 +51,5 @@ extern int pci_cfgregopen(void);
extern u_int32_t pci_cfgregread(int bus, int slot, int func, int reg, int bytes);
extern void pci_cfgregwrite(int bus, int slot, int func, int reg, u_int32_t data, int bytes);
extern int pci_cfgintr(int bus, int device, int pin);
+extern int pci_kill_pcibios(void);
+extern int pci_pcibios_active(void);
OpenPOWER on IntegriCloud