From ae4da6882794658e98819cd254bf28cb85c2047e Mon Sep 17 00:00:00 2001 From: Jonathan Lemon Date: Thu, 25 Oct 2001 04:44:50 +0000 Subject: [PATCH] Add PCI_ENABLE_IO_MODES option, for BIOSen that neglect this. Submitted by: Andrew R. Reiter arr@watson.org --- sys/amd64/conf/GENERIC | 1 + sys/conf/NOTES | 1 + sys/conf/options.i386 | 2 ++ sys/dev/pci/pci.c | 1 + sys/i386/conf/GENERIC | 1 + sys/i386/conf/NOTES | 1 + 6 files changed, 7 insertions(+) diff --git a/sys/amd64/conf/GENERIC b/sys/amd64/conf/GENERIC index d492eabd47d5..4c3b8f44a161 100644 --- a/sys/amd64/conf/GENERIC +++ b/sys/amd64/conf/GENERIC @@ -66,6 +66,7 @@ options WITNESS #Enable mutex checks to detects deadlocks and cycles device isa device eisa device pci +#options PCI_ENABLE_IO_MODES # Enable pci resources left off by a "lazy BIOS" # Floppy drives device fdc diff --git a/sys/conf/NOTES b/sys/conf/NOTES index f8fdc072accf..d6ea142f0621 100644 --- a/sys/conf/NOTES +++ b/sys/conf/NOTES @@ -1138,6 +1138,7 @@ device agp # PCI options # #options PCI_QUIET #quiets PCI code on chipset settings +#options PCI_ENABLE_IO_MODES #Enable pci resources left off by a "lazy BIOS" ##################################################################### diff --git a/sys/conf/options.i386 b/sys/conf/options.i386 index b4ce79ae87e2..951314156ec0 100644 --- a/sys/conf/options.i386 +++ b/sys/conf/options.i386 @@ -107,6 +107,8 @@ PSM_HOOKRESUME opt_psm.h PSM_RESETAFTERSUSPEND opt_psm.h PSM_DEBUG opt_psm.h +PCI_ENABLE_IO_MODES opt_pci.h + PCIC_RESUME_RESET opt_pcic.h ATKBD_DFLT_KEYMAP opt_atkbd.h diff --git a/sys/dev/pci/pci.c b/sys/dev/pci/pci.c index 35ad74404e95..d731e36445a7 100644 --- a/sys/dev/pci/pci.c +++ b/sys/dev/pci/pci.c @@ -30,6 +30,7 @@ */ #include "opt_bus.h" +#include "opt_pci.h" #include #include diff --git a/sys/i386/conf/GENERIC b/sys/i386/conf/GENERIC index d492eabd47d5..4c3b8f44a161 100644 --- a/sys/i386/conf/GENERIC +++ b/sys/i386/conf/GENERIC @@ -66,6 +66,7 @@ options WITNESS #Enable mutex checks to detects deadlocks and cycles device isa device eisa device pci +#options PCI_ENABLE_IO_MODES # Enable pci resources left off by a "lazy BIOS" # Floppy drives device fdc diff --git a/sys/i386/conf/NOTES b/sys/i386/conf/NOTES index f8fdc072accf..d6ea142f0621 100644 --- a/sys/i386/conf/NOTES +++ b/sys/i386/conf/NOTES @@ -1138,6 +1138,7 @@ device agp # PCI options # #options PCI_QUIET #quiets PCI code on chipset settings +#options PCI_ENABLE_IO_MODES #Enable pci resources left off by a "lazy BIOS" #####################################################################