Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-1-5]: src/sys/dev/isa Pull up rev. 1.37:
details: https://anonhg.NetBSD.org/src/rev/923950c4c663
branches: netbsd-1-5
changeset: 488299:923950c4c663
user: thorpej <thorpej%NetBSD.org@localhost>
date: Tue Jun 27 21:45:17 2000 +0000
description:
Pull up rev. 1.37:
Only "complain" about successful multicast setup if IFF_DEBUG was set.
diffstat:
sys/dev/isa/if_iy.c | 11 +++++++----
1 files changed, 7 insertions(+), 4 deletions(-)
diffs (32 lines):
diff -r 23e12c3cb254 -r 923950c4c663 sys/dev/isa/if_iy.c
--- a/sys/dev/isa/if_iy.c Tue Jun 27 21:44:32 2000 +0000
+++ b/sys/dev/isa/if_iy.c Tue Jun 27 21:45:17 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: if_iy.c,v 1.36 2000/03/30 12:45:33 augustss Exp $ */
+/* $NetBSD: if_iy.c,v 1.36.4.1 2000/06/27 21:45:17 thorpej Exp $ */
/* #define IYDEBUG */
/* #define IYMEMDEBUG */
@@ -1247,8 +1247,10 @@
avail = sc->tx_start - sc->tx_end;
if (avail <= 0)
avail += sc->tx_size;
- printf("iy_mc_setup called, %d addresses, %d/%d bytes needed/avail\n",
- ecp->ec_multicnt, len + I595_XMT_HDRLEN, avail);
+ if (ifp->if_flags & IFF_DEBUG)
+ printf("%s: iy_mc_setup called, %d addresses, "
+ "%d/%d bytes needed/avail\n", ifp->if_xname,
+ ecp->ec_multicnt, len + I595_XMT_HDRLEN, avail);
last = sc->rx_size;
@@ -1293,7 +1295,8 @@
if (temp & 0x20) {
printf("%s: mc setup failed, %d usec\n",
sc->sc_dev.dv_xname, timeout * 2);
- } else if ((temp & 0x0f) == 0x03) {
+ } else if (((temp & 0x0f) == 0x03) &&
+ (ifp->if_flags & IFF_DEBUG)) {
printf("%s: mc setup done, %d usec\n",
sc->sc_dev.dv_xname, timeout * 2);
}
Home |
Main Index |
Thread Index |
Old Index