PERFORCE change 111382 for review
Warner Losh
imp at FreeBSD.org
Sat Dec 9 22:42:24 PST 2006
http://perforce.freebsd.org/chv.cgi?CH=111382
Change 111382 by imp at imp_lighthouse on 2006/12/10 06:42:15
Remove watchdog that we weren't using anyway.
Affected files ...
.. //depot/projects/arm/src/sys/arm/at91/if_ate.c#64 edit
Differences ...
==== //depot/projects/arm/src/sys/arm/at91/if_ate.c#64 (text+ko) ====
@@ -132,7 +132,6 @@
static void ateinit(void *);
static void atestart(struct ifnet *);
static void atestop(struct ate_softc *);
-static void atewatchdog(struct ifnet *);
static int ateioctl(struct ifnet * ifp, u_long, caddr_t);
/* bus entry points */
@@ -208,7 +207,6 @@
ifp->if_flags = IFF_BROADCAST | IFF_SIMPLEX | IFF_MULTICAST;
ifp->if_start = atestart;
ifp->if_ioctl = ateioctl;
- ifp->if_watchdog = atewatchdog;
ifp->if_init = ateinit;
ifp->if_baudrate = 10000000;
IFQ_SET_MAXLEN(&ifp->if_snd, IFQ_MAXLEN);
@@ -910,18 +908,6 @@
*/
}
-static void
-atewatchdog(struct ifnet *ifp)
-{
- struct ate_softc *sc = ifp->if_softc;
-
- ATE_LOCK(sc);
- device_printf(sc->dev, "Device timeout\n");
- ifp->if_oerrors++;
- ateinit_locked(sc);
- ATE_UNLOCK(sc);
-}
-
static int
ateioctl(struct ifnet *ifp, u_long cmd, caddr_t data)
{
More information about the p4-projects
mailing list