summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authordavidxu <davidxu@FreeBSD.org>2002-11-05 04:03:42 +0000
committerdavidxu <davidxu@FreeBSD.org>2002-11-05 04:03:42 +0000
commitf324bc490bfb9a76614ad8c868ff5a50b32a5b2d (patch)
tree5864a95fdf58b19e0d6176a9bbaf060ae00ea232 /sys
parent522f637a4640589e048e799c026e35055acb0f8f (diff)
downloadFreeBSD-src-f324bc490bfb9a76614ad8c868ff5a50b32a5b2d.zip
FreeBSD-src-f324bc490bfb9a76614ad8c868ff5a50b32a5b2d.tar.gz
Fix typo. ioport_rid should be irq_rid.
Diffstat (limited to 'sys')
-rw-r--r--sys/amd64/amd64/fpu.c2
-rw-r--r--sys/amd64/isa/npx.c2
-rw-r--r--sys/i386/isa/npx.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/sys/amd64/amd64/fpu.c b/sys/amd64/amd64/fpu.c
index 3de7581..3395c99 100644
--- a/sys/amd64/amd64/fpu.c
+++ b/sys/amd64/amd64/fpu.c
@@ -299,7 +299,7 @@ npx_probe(dev)
irq_num = 13;
#endif
irq_rid = 0;
- irq_res = bus_alloc_resource(dev, SYS_RES_IRQ, &ioport_rid, irq_num,
+ irq_res = bus_alloc_resource(dev, SYS_RES_IRQ, &irq_rid, irq_num,
irq_num, 1, RF_ACTIVE);
if (irq_res == NULL)
panic("npx: can't get IRQ");
diff --git a/sys/amd64/isa/npx.c b/sys/amd64/isa/npx.c
index 3de7581..3395c99 100644
--- a/sys/amd64/isa/npx.c
+++ b/sys/amd64/isa/npx.c
@@ -299,7 +299,7 @@ npx_probe(dev)
irq_num = 13;
#endif
irq_rid = 0;
- irq_res = bus_alloc_resource(dev, SYS_RES_IRQ, &ioport_rid, irq_num,
+ irq_res = bus_alloc_resource(dev, SYS_RES_IRQ, &irq_rid, irq_num,
irq_num, 1, RF_ACTIVE);
if (irq_res == NULL)
panic("npx: can't get IRQ");
diff --git a/sys/i386/isa/npx.c b/sys/i386/isa/npx.c
index 3de7581..3395c99 100644
--- a/sys/i386/isa/npx.c
+++ b/sys/i386/isa/npx.c
@@ -299,7 +299,7 @@ npx_probe(dev)
irq_num = 13;
#endif
irq_rid = 0;
- irq_res = bus_alloc_resource(dev, SYS_RES_IRQ, &ioport_rid, irq_num,
+ irq_res = bus_alloc_resource(dev, SYS_RES_IRQ, &irq_rid, irq_num,
irq_num, 1, RF_ACTIVE);
if (irq_res == NULL)
panic("npx: can't get IRQ");
OpenPOWER on IntegriCloud