Get the interrupt correct.
This commit is contained in:
parent
9aea17a792
commit
4659a20822
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=67399
@ -335,7 +335,7 @@ pccard_function_init(struct pccard_function *pf)
|
||||
}
|
||||
if (cfe->irqmask) {
|
||||
cfe->irqrid = 0;
|
||||
cfe->irqres = bus_alloc_resource(bus, SYS_RES_IRQ,
|
||||
r = cfe->irqres = bus_alloc_resource(bus, SYS_RES_IRQ,
|
||||
&cfe->irqrid, 10, 12, 1, 0);
|
||||
if (cfe->irqres == 0)
|
||||
goto not_this_one;
|
||||
|
Loading…
Reference in New Issue
Block a user