summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorjlemon <jlemon@FreeBSD.org>2001-10-25 04:44:50 +0000
committerjlemon <jlemon@FreeBSD.org>2001-10-25 04:44:50 +0000
commitfe5999a4cb5cb569e6d75d44a8cdf63c25a12f5c (patch)
tree0b9363e1b7a49cb87d5cfd4e7d11491cc79030ff /sys
parent8d7368cdb8cc398afb2951e864c3714cd934277b (diff)
downloadFreeBSD-src-fe5999a4cb5cb569e6d75d44a8cdf63c25a12f5c.zip
FreeBSD-src-fe5999a4cb5cb569e6d75d44a8cdf63c25a12f5c.tar.gz
Add PCI_ENABLE_IO_MODES option, for BIOSen that neglect this.
Submitted by: Andrew R. Reiter arr@watson.org
Diffstat (limited to 'sys')
-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 d492eab..4c3b8f4 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 f8fdc07..d6ea142 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 b4ce79a..9513141 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 35ad744..d731e36 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 d492eab..4c3b8f4 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 f8fdc07..d6ea142 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"
#####################################################################
OpenPOWER on IntegriCloud