diff options
author | imp <imp@FreeBSD.org> | 2002-02-10 05:04:20 +0000 |
---|---|---|
committer | imp <imp@FreeBSD.org> | 2002-02-10 05:04:20 +0000 |
commit | fc3cad7e8720615e343669e1db54766cd7522da1 (patch) | |
tree | fbd8dddc2a281cc1bf1bd812eceac73424bca3e3 /sys | |
parent | c00ccc43a6846ce1fad29eb325222de03681c2d8 (diff) | |
download | FreeBSD-src-fc3cad7e8720615e343669e1db54766cd7522da1.zip FreeBSD-src-fc3cad7e8720615e343669e1db54766cd7522da1.tar.gz |
Null interrupt handlers should be OK, so if we don't have a function,
just return.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/dev/pccard/pccard.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/sys/dev/pccard/pccard.c b/sys/dev/pccard/pccard.c index 2b2ace4..8981034 100644 --- a/sys/dev/pccard/pccard.c +++ b/sys/dev/pccard/pccard.c @@ -1133,13 +1133,8 @@ pccard_intr(void *arg) struct pccard_function *pf = (struct pccard_function*) arg; int reg; - /* - * If we go to resetting a card, we may need a null interrupt hanlder - * to work (since the system may call it before the device can - * establish an ISR) due to interrupt sharing at a higher level. - */ if (pf->intr_handler == NULL) - panic("Null interrupt handler?\n"); + return; /* * XXX The CCR_STATUS register bits used here are |