cvs commit: src/sys/dev/netif/em Makefile README if_em.c if_em.h if_em_hw.c if_em_hw.h if_em_osdep.h
Sepherosa Ziehau
sephe at crater.dragonflybsd.org
Sat Dec 23 02:44:18 PST 2006
sephe 2006/12/23 02:39:17 PST
DragonFly src repository
Modified files:
sys/dev/netif/em Makefile README if_em.c if_em.h
if_em_hw.c if_em_hw.h if_em_osdep.h
Log:
Sync with Intel's em-6.2.9
- Support more chips.
- Implement suspend/resume device methods.
- Correct promisc mode support.
- Code and comment clean up.
- Avoid reinitializing the hardware if only IP address is changed. This is
implemented in a different way from Intel's:
If IFF_RUNNING is set, em_init() will return immediately. So for some
situation in which em_init() must run, IFF_RUNNING is cleared before calling
em_init().
- Rework TX processing:
In em_encap(), save the index of the packet's last TX descriptor (EOP) in
the packet's first descriptor. In em_txeof(), test E1000_TXD_STAT_DD bit
only for last TX descriptor (EOP) of certain packet. If it is set, then
reap the TX descriptors of the packet in an inner loop.
"This change is important for future chips, where DD bit is going
to be set only on the EOP descriptors." -- Jack Vogel at Intel
Revision Changes Path
1.7 +4 -1 src/sys/dev/netif/em/Makefile
1.7 +3 -2 src/sys/dev/netif/em/README
1.53 +582 -490 src/sys/dev/netif/em/if_em.c
1.19 +110 -124 src/sys/dev/netif/em/if_em.h
1.11 +565 -482 src/sys/dev/netif/em/if_em_hw.c
1.11 +95 -139 src/sys/dev/netif/em/if_em_hw.h
1.9 +6 -4 src/sys/dev/netif/em/if_em_osdep.h
http://www.dragonflybsd.org/cvsweb/src/sys/dev/netif/em/Makefile.diff?r1=1.6&r2=1.7&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/dev/netif/em/README.diff?r1=1.6&r2=1.7&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/dev/netif/em/if_em.c.diff?r1=1.52&r2=1.53&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/dev/netif/em/if_em.h.diff?r1=1.18&r2=1.19&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/dev/netif/em/if_em_hw.c.diff?r1=1.10&r2=1.11&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/dev/netif/em/if_em_hw.h.diff?r1=1.10&r2=1.11&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/dev/netif/em/if_em_osdep.h.diff?r1=1.8&r2=1.9&f=u
More information about the Commits
mailing list