summaryrefslogtreecommitdiffstats
path: root/sys/dev/pccard
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>2000-10-20 20:27:22 +0000
committerimp <imp@FreeBSD.org>2000-10-20 20:27:22 +0000
commit05ba5687097b06db8483122c7716c3b5d543904a (patch)
tree1db03eabb9e985e8e3462a01a3a6ad419d8b3a7b /sys/dev/pccard
parent56efda2aa8eb6464f6106f31e59663e6f3f2ce62 (diff)
downloadFreeBSD-src-05ba5687097b06db8483122c7716c3b5d543904a.zip
FreeBSD-src-05ba5687097b06db8483122c7716c3b5d543904a.tar.gz
Get the interrupt correct.
Diffstat (limited to 'sys/dev/pccard')
-rw-r--r--sys/dev/pccard/pccard.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/pccard/pccard.c b/sys/dev/pccard/pccard.c
index c447312..f55614f 100644
--- a/sys/dev/pccard/pccard.c
+++ b/sys/dev/pccard/pccard.c
@@ -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;
OpenPOWER on IntegriCloud