Sync with Intel's em-6.2.9
authorSepherosa Ziehau <sephe@dragonflybsd.org>
Sat, 23 Dec 2006 10:39:16 +0000 (10:39 +0000)
committerSepherosa Ziehau <sephe@dragonflybsd.org>
Sat, 23 Dec 2006 10:39:16 +0000 (10:39 +0000)
commit87307ba13888ed309f4c3f3b224d4aec1752b9a8
tree52901183d4243d94eaba9c406f2ece12d6bf4385
parent7a6cfa11346bc2026af9cfd0961975e3509e06d4
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
sys/dev/netif/em/Makefile
sys/dev/netif/em/README
sys/dev/netif/em/if_em.c
sys/dev/netif/em/if_em.h
sys/dev/netif/em/if_em_hw.c
sys/dev/netif/em/if_em_hw.h
sys/dev/netif/em/if_em_osdep.h