artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
097860c
)
absent pcmcia cards do not interrupt
author
deraadt
<deraadt@openbsd.org>
Sun, 5 Jan 1997 04:03:26 +0000
(
04:03
+0000)
committer
deraadt
<deraadt@openbsd.org>
Sun, 5 Jan 1997 04:03:26 +0000
(
04:03
+0000)
sys/dev/ic/elink3.c
patch
|
blob
|
history
diff --git
a/sys/dev/ic/elink3.c
b/sys/dev/ic/elink3.c
index
f1cf568
..
c182da1
100644
(file)
--- a/
sys/dev/ic/elink3.c
+++ b/
sys/dev/ic/elink3.c
@@
-1,4
+1,4
@@
-/* $OpenBSD: elink3.c,v 1.1
6 1996/11/28 23:27:49 niklas Exp $
*/
+/* $OpenBSD: elink3.c,v 1.1
7 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);