1 Aug 2004 06:04
hme NIC diffs
Brad <brad <at> comstyle.com>
2004-08-01 04:04:55 GMT
2004-08-01 04:04:55 GMT
From NetBSD... do not reset the chip (and subsequently the phy) when unnecessary; that is, for address changes, multicast filter changes, or adjusting promiscuous mode. Fixes resetting the phy for things like start/stopping tcpdump. Please test. // Brad for the bus-independent driver.. Index: hme.c =================================================================== RCS file: /cvs/src/sys/dev/ic/hme.c,v retrieving revision 1.31 diff -u -p -r1.31 hme.c --- hme.c 31 May 2004 01:51:30 -0000 1.31 +++ hme.c 31 Jul 2004 16:01:42 -0000 <at> <at> -239,6 +239,7 <at> <at> hme_config(sc) ifp->if_watchdog = hme_watchdog; ifp->if_flags = IFF_BROADCAST | IFF_SIMPLEX | IFF_NOTRAILERS | IFF_MULTICAST; + sc->sc_if_flags = ifp->if_flags; IFQ_SET_READY(&ifp->if_snd); ifp->if_capabilities |= IFCAP_VLAN_MTU; <at> <at> -621,6 +622,7 <at> <at> hme_init(sc) ifp->if_flags |= IFF_RUNNING;(Continue reading)
RSS Feed