summaryrefslogtreecommitdiffstats
path: root/sys/i386/isa
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>2004-02-13 18:04:51 +0000
committerbde <bde@FreeBSD.org>2004-02-13 18:04:51 +0000
commitb43aec666724244cc18840970e84dca4d717b260 (patch)
tree54d3249c3bc2de18b508924d851aaf6bd989d34f /sys/i386/isa
parent082b328bb003bf0d74fb302c96685f4f059175f1 (diff)
downloadFreeBSD-src-b43aec666724244cc18840970e84dca4d717b260.zip
FreeBSD-src-b43aec666724244cc18840970e84dca4d717b260.tar.gz
Fixed a misplaced ifdef that prevented npx.c building without "device isa"
ISA. npx has few isa dependencies, but it does unconditional outb()'s to the isa bus in the !SMP case, and it attaches to isa if "device isa" is configured in order to support PNP-ISA. The ifdef for the latter was misplaced. PR: 62595
Diffstat (limited to 'sys/i386/isa')
-rw-r--r--sys/i386/isa/npx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/i386/isa/npx.c b/sys/i386/isa/npx.c
index 9e5a7ee..76919fe 100644
--- a/sys/i386/isa/npx.c
+++ b/sys/i386/isa/npx.c
@@ -1037,13 +1037,13 @@ static driver_t npx_driver = {
static devclass_t npx_devclass;
-#ifdef DEV_ISA
/*
* We prefer to attach to the root nexus so that the usual case (exception 16)
* doesn't describe the processor as being `on isa'.
*/
DRIVER_MODULE(npx, nexus, npx_driver, npx_devclass, 0, 0);
+#ifdef DEV_ISA
/*
* This sucks up the legacy ISA support assignments from PNPBIOS/ACPI.
*/
OpenPOWER on IntegriCloud