Subject: watchdog problem--oops!
To: None <gwr@portal.ca>
From: Curt Sampson <curt@portal.ca>
List: port-sun3
Date: 05/09/1996 10:58:45
Gordon,
Sorry about that last message, I hadn't caught up on my -current
reading and seen the message below. It looks like Jason missed the
sun3 if_ie driver. I've changed the if_ie.c watchdog function to
correspond to the sparc version; here's the diff:
*** if_ie.c~ Tue May 7 04:29:10 1996
--- if_ie.c Thu May 9 10:42:18 1996
***************
*** 322,328 ****
iewatchdog(ifp)
struct ifnet *ifp;
{
! struct ie_softc *sc = ifp->if_unit;
log(LOG_ERR, "%s: device timeout\n", sc->sc_dev.dv_xname);
++sc->sc_arpcom.ac_if.if_oerrors;
--- 322,328 ----
iewatchdog(ifp)
struct ifnet *ifp;
{
! struct ie_softc *sc = ifp->if_softc;
log(LOG_ERR, "%s: device timeout\n", sc->sc_dev.dv_xname);
++sc->sc_arpcom.ac_if.if_oerrors;
----------------
cjs
Curt Sampson curt@portal.ca Info at http://www.portal.ca/
Internet Portal Services, Inc.
Vancouver, BC (604) 257-9400 De gustibus, aut bene aut nihil.
---------- Forwarded message ----------
Date: Mon, 06 May 1996 19:35:21 -0700
From: Jason Thorpe <thorpej@NetBSD.ORG>
To: current-users@NetBSD.ORG
Subject: README: changes to network subsystem
I've just made some simple, though extensive changes to the network
subsystem. This affects every network driver in the tree. I've made an
attempt to update all of them, but it's possible that I may have goofed.
If you have any problems with the network subsystem compiling or
functioning properly after your next source update, please let me know ASAP!
Anyway, here are the entries from CHANGES:
changed struct ifnet to have a pointer to the softc of the
underlying device and a printable "external name"
(name + unit number), thus eliminating if_name and if_unit.
Updated interface to (*if_watchdog)() and (*if_reset)()
to take a struct ifnet *, rather than a unit number.
[thorpej 960506]
LANCE: made the MI LANCE driver standalone, using cfattach to
resolve naming conflicts on ports which can have more
than one instance of the LANCE. [thorpej 960506]
BTW, you'll want to make sure to update your netstat(1) program. If you
encounter other user-land programs that need updating, please let me know
ASAP!
BTW, it wouldn't hurt to file any of these problems in the bugs database
with send-pr(1), if you encounter them...
Thanks!
Jason R. Thorpe
NetBSD Core Group
<thorpej@NetBSD.ORG>