diff options
author | davidxu <davidxu@FreeBSD.org> | 2002-11-05 04:03:42 +0000 |
---|---|---|
committer | davidxu <davidxu@FreeBSD.org> | 2002-11-05 04:03:42 +0000 |
commit | f324bc490bfb9a76614ad8c868ff5a50b32a5b2d (patch) | |
tree | 5864a95fdf58b19e0d6176a9bbaf060ae00ea232 /sys | |
parent | 522f637a4640589e048e799c026e35055acb0f8f (diff) | |
download | FreeBSD-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.c | 2 | ||||
-rw-r--r-- | sys/amd64/isa/npx.c | 2 | ||||
-rw-r--r-- | sys/i386/isa/npx.c | 2 |
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"); |