Get the interrupt correct.

This commit is contained in:
Warner Losh 2000-10-20 20:27:22 +00:00
parent 9aea17a792
commit 4659a20822
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=67399

View File

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