summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorJason Wright <jason@cvs.openbsd.org>2003-08-18 17:14:20 +0000
committerJason Wright <jason@cvs.openbsd.org>2003-08-18 17:14:20 +0000
commitf71d9771e4eacffafaee594631357c76b5ddb412 (patch)
tree0dda490590ae2bc2bb5214a9e0ca83ba707c8e72 /sys/dev
parent8a8dcce4e8772639980be3759a292a2e7eef06fb (diff)
#ifdef warning about chained buffers
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/ic/am7990.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/dev/ic/am7990.c b/sys/dev/ic/am7990.c
index 53468842ae6..c98ee7a6df7 100644
--- a/sys/dev/ic/am7990.c
+++ b/sys/dev/ic/am7990.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: am7990.c,v 1.31 2003/06/02 23:28:01 millert Exp $ */
+/* $OpenBSD: am7990.c,v 1.32 2003/08/18 17:14:19 jason Exp $ */
/* $NetBSD: am7990.c,v 1.22 1996/10/13 01:37:19 christos Exp $ */
/*-
@@ -537,8 +537,10 @@ am7990_rint(sc)
ifp->if_ierrors++;
} else if ((rmd.rmd1_bits & (LE_R1_STP | LE_R1_ENP)) !=
(LE_R1_STP | LE_R1_ENP)) {
+#ifdef LEDEBUG
printf("%s: dropping chained buffer\n",
sc->sc_dev.dv_xname);
+#endif
ifp->if_ierrors++;
} else {
#ifdef LEDEBUG1