Fix typo. ioport_rid should be irq_rid.

This commit is contained in:
David Xu 2002-11-05 04:03:42 +00:00
parent 81ac040a36
commit 1f82496322
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=106443
3 changed files with 3 additions and 3 deletions

View file

@ -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");

View file

@ -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");

View file

@ -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");