diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 1997-01-05 04:03:27 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 1997-01-05 04:03:27 +0000 |
commit | 9fd00cc3cc13a68cf3e9e72385f903812e9e2ee2 (patch) | |
tree | 789fb4a7b993797acda86f8ca62ca90af1231bb7 /sys | |
parent | 0d2eb8ae50e96780902001b67396a611635c4ffd (diff) |
absent pcmcia cards do not interrupt
Diffstat (limited to 'sys')
-rw-r--r-- | sys/dev/ic/elink3.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/dev/ic/elink3.c b/sys/dev/ic/elink3.c index f1cf568aea0..c182da11b12 100644 --- a/sys/dev/ic/elink3.c +++ b/sys/dev/ic/elink3.c @@ -1,4 +1,4 @@ -/* $OpenBSD: elink3.c,v 1.16 1996/11/28 23:27:49 niklas Exp $ */ +/* $OpenBSD: elink3.c,v 1.17 1997/01/05 04:03:26 deraadt Exp $ */ /* $NetBSD: elink3.c,v 1.11 1996/10/21 22:34:21 thorpej Exp $ */ /* @@ -548,6 +548,9 @@ epintr(arg) u_int16_t status; int ret = 0; + if (sc->bustype == EP_BUS_PCMCIA && (sc->pcmcia_flags & EP_ABSENT)) + return (ret); + for (;;) { bus_space_write_2(iot, ioh, EP_COMMAND, C_INTR_LATCH); |