diff options
author | Aaron Campbell <aaron@cvs.openbsd.org> | 2001-04-08 01:05:13 +0000 |
---|---|---|
committer | Aaron Campbell <aaron@cvs.openbsd.org> | 2001-04-08 01:05:13 +0000 |
commit | aa5fcc9a50bd4bb3dc3b888616ea2e09b24eb8de (patch) | |
tree | 2257fe28b88ef5b7ef6adb9001b49eea1f34871a /sys | |
parent | 9dc1afdab493da7920cf99f0f7996feb3aa97f85 (diff) |
Don't print anything for transmission error 90, since the driver always
recovers from the situation, and there's not much point in knowing about it.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/dev/ic/xl.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/sys/dev/ic/xl.c b/sys/dev/ic/xl.c index 86332ef92bc..c41f7556712 100644 --- a/sys/dev/ic/xl.c +++ b/sys/dev/ic/xl.c @@ -1,4 +1,4 @@ -/* $OpenBSD: xl.c,v 1.22 2001/03/25 06:27:44 csapuntz Exp $ */ +/* $OpenBSD: xl.c,v 1.23 2001/04/08 01:05:12 aaron Exp $ */ /* * Copyright (c) 1997, 1998, 1999 @@ -1394,8 +1394,10 @@ void xl_txeoc(sc) if (txstat & XL_TXSTATUS_UNDERRUN || txstat & XL_TXSTATUS_JABBER || txstat & XL_TXSTATUS_RECLAIM) { - printf("xl%d: transmission error: %x\n", - sc->xl_unit, txstat); + if (txstat != 0x90) { + printf("xl%d: transmission error: %x\n", + sc->xl_unit, txstat); + } CSR_WRITE_2(sc, XL_COMMAND, XL_CMD_TX_RESET); xl_wait(sc); if (sc->xl_type == XL_TYPE_905B) { |