diff options
author | bde <bde@FreeBSD.org> | 2004-02-13 18:04:51 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 2004-02-13 18:04:51 +0000 |
commit | b43aec666724244cc18840970e84dca4d717b260 (patch) | |
tree | 54d3249c3bc2de18b508924d851aaf6bd989d34f /sys/i386 | |
parent | 082b328bb003bf0d74fb302c96685f4f059175f1 (diff) | |
download | FreeBSD-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')
-rw-r--r-- | sys/i386/isa/npx.c | 2 |
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. */ |