aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Lemon <jlemon@FreeBSD.org>2001-10-25 04:44:50 +0000
committerJonathan Lemon <jlemon@FreeBSD.org>2001-10-25 04:44:50 +0000
commitae4da6882794658e98819cd254bf28cb85c2047e (patch)
tree0b9363e1b7a49cb87d5cfd4e7d11491cc79030ff
parent0fb56449d624bb1b809cc2fdc3b9870c3bb88f37 (diff)
downloadsrc-ae4da6882794658e98819cd254bf28cb85c2047e.tar.gz
src-ae4da6882794658e98819cd254bf28cb85c2047e.zip
Add PCI_ENABLE_IO_MODES option, for BIOSen that neglect this.
Submitted by: Andrew R. Reiter arr@watson.org
Notes
Notes: svn path=/head/; revision=85457
-rw-r--r--sys/amd64/conf/GENERIC1
-rw-r--r--sys/conf/NOTES1
-rw-r--r--sys/conf/options.i3862
-rw-r--r--sys/dev/pci/pci.c1
-rw-r--r--sys/i386/conf/GENERIC1
-rw-r--r--sys/i386/conf/NOTES1
6 files changed, 7 insertions, 0 deletions
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 <sys/param.h>
#include <sys/systm.h>
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"
#####################################################################