diff options
author | fsmp <fsmp@FreeBSD.org> | 1997-07-20 23:07:39 +0000 |
---|---|---|
committer | fsmp <fsmp@FreeBSD.org> | 1997-07-20 23:07:39 +0000 |
commit | 9706ca5668f4599fd2b0399e0dc5e1a85f0d9ff3 (patch) | |
tree | e73a4e7a3318cf618a1e74cf551335aa3e47de7d /sys/i386/isa/if_ze.c | |
parent | 2ac3ad1fd352da4f31ea42c709a816ad519b924f (diff) | |
download | FreeBSD-src-9706ca5668f4599fd2b0399e0dc5e1a85f0d9ff3.zip FreeBSD-src-9706ca5668f4599fd2b0399e0dc5e1a85f0d9ff3.tar.gz |
Omit printout of imen, INTRGET() is not MP-safe yet...
Diffstat (limited to 'sys/i386/isa/if_ze.c')
-rw-r--r-- | sys/i386/isa/if_ze.c | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/sys/i386/isa/if_ze.c b/sys/i386/isa/if_ze.c index fffb452..c854a48 100644 --- a/sys/i386/isa/if_ze.c +++ b/sys/i386/isa/if_ze.c @@ -47,7 +47,7 @@ */ /* - * $Id: if_ze.c,v 1.43 1997/04/27 21:18:58 fsmp Exp $ + * $Id: if_ze.c,v 1.44 1997/07/20 14:10:02 bde Exp $ */ /* XXX - Don't mix different PCCARD support code */ @@ -735,11 +735,16 @@ ze_watchdog(ifp) /* read interrupt mask register */ imr = inb (sc->nic_addr + ED_P2_IMR) & 0xff; - +#ifdef SMP + /* INTRGET() is NOT MP_SAFE, forgo printing it for now... */ + log (LOG_ERR, "ze%d: device timeout, isr=%02x, imr=%02x\n", + ifp->if_unit, isr, imr); +#else imask = INTRGET(); log (LOG_ERR, "ze%d: device timeout, isr=%02x, imr=%02x, imask=%04x\n", ifp->if_unit, isr, imr, imask); +#endif /* SMP */ #else log(LOG_ERR, "ze%d: device timeout\n", ifp->if_unit); #endif |