mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-19 06:44:31 +00:00
Fix typo. ioport_rid should be irq_rid.
This commit is contained in:
parent
81ac040a36
commit
1f82496322
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=106443
|
@ -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");
|
||||
|
|
|
@ -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");
|
||||
|
|
|
@ -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");
|
||||
|
|
Loading…
Reference in a new issue