Module Name: src Committed By: jakllsch Date: Sat Aug 13 19:23:35 UTC 2011
Modified Files: src/sys/dev/ic: tulip.c Log Message: Fix TLP_DEBUG after previous To generate a diff of this commit: cvs rdiff -u -r1.178 -r1.179 src/sys/dev/ic/tulip.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/dev/ic/tulip.c diff -u src/sys/dev/ic/tulip.c:1.178 src/sys/dev/ic/tulip.c:1.179 --- src/sys/dev/ic/tulip.c:1.178 Sat Aug 13 18:13:44 2011 +++ src/sys/dev/ic/tulip.c Sat Aug 13 19:23:34 2011 @@ -1,4 +1,4 @@ -/* $NetBSD: tulip.c,v 1.178 2011/08/13 18:13:44 christos Exp $ */ +/* $NetBSD: tulip.c,v 1.179 2011/08/13 19:23:34 jakllsch Exp $ */ /*- * Copyright (c) 1998, 1999, 2000, 2002 The NetBSD Foundation, Inc. @@ -36,7 +36,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: tulip.c,v 1.178 2011/08/13 18:13:44 christos Exp $"); +__KERNEL_RCSID(0, "$NetBSD: tulip.c,v 1.179 2011/08/13 19:23:34 jakllsch Exp $"); #include <sys/param.h> @@ -827,7 +827,7 @@ if (ifp->if_flags & IFF_DEBUG) { printf(" txsoft %p transmit chain:\n", txs); for (seg = sc->sc_txnext;; seg = TULIP_NEXTTX(seg)) { - txd = sc->sc_txdescs[seg]; + txd = &sc->sc_txdescs[seg]; printf(" descriptor %d:\n", seg); printf(" td_status: 0x%08x\n", le32toh(txd->td_status)); @@ -1437,7 +1437,7 @@ struct tulip_desc *txd; printf(" txsoft %p transmit chain:\n", txs); for (i = txs->txs_firstdesc;; i = TULIP_NEXTTX(i)) { - txd = sc->sc_txdescs[i]; + txd = &sc->sc_txdescs[i]; printf(" descriptor %d:\n", i); printf(" td_status: 0x%08x\n", le32toh(txd->td_status));