From aa5fcc9a50bd4bb3dc3b888616ea2e09b24eb8de Mon Sep 17 00:00:00 2001 From: Aaron Campbell Date: Sun, 8 Apr 2001 01:05:13 +0000 Subject: 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. --- sys/dev/ic/xl.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'sys') 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) { -- cgit v1.2.3