Sync with Intel's em(4) driver version 6.1.4
authorSepherosa Ziehau <sephe@dragonflybsd.org>
Sat, 12 Aug 2006 13:03:44 +0000 (13:03 +0000)
committerSepherosa Ziehau <sephe@dragonflybsd.org>
Sat, 12 Aug 2006 13:03:44 +0000 (13:03 +0000)
commit1eca7b82aa91b2cc3d799174ba230b18a8a3d140
tree5dd803f248231e9684847a0b5b06b6593b35370f
parentd90d800531950cd3da522dc0c51e510476a9cada
Sync with Intel's em(4) driver version 6.1.4
- Add support for new chipset revisions embedded in the ESB2 and ICH8 core
  logic chipsets.
- Add PCI id for the PCIe quad port copper adapter. [*]
- Improve media support for fiber adapters. [*]
- Instead of creating TX DMA map in em_encap(), create all of the during
  em_init().
  Fix a bug in Intel's code:
  The TX desc used to hold mbuf, does not necessarily have the DMA map
  that is used to load the mbuf, so in em_clean_transmit_interrupts() or
  during em_stop(), wrong DMA map may be used.
- Update README

Bug fixes:
- Properly serialize em_shutdown()
- (BUS_DMASYNC_PREWRITE | BUS_DMASYNC_PREREAD) -> BUS_DMASYNC_PREWRITE
- Correct polling(4) support: disable interrupt if polling(4) is enabled.

Tested with an 82540EM.

# I have committed a slightly different version(6.1.4) than the version(6.0.5)
# posted to submit@, since 6.1.4 came immediately after my submission for
# testing/reviewing, and the difference between it and the submitted version
# is really very small (only added [*] part).
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