Copy em(4) to emx(4), which supports only 8257{1,2,3} parts.
authorSepherosa Ziehau <sephe@dragonflybsd.org>
Sun, 1 Mar 2009 09:14:58 +0000 (17:14 +0800)
committerSepherosa Ziehau <sephe@dragonflybsd.org>
Sun, 1 Mar 2009 09:30:41 +0000 (17:30 +0800)
commit5330213cf29e8324c91ddc2304610c35c18eab2f
tree40ea113ced11f9da4562ce55785c2ef21983ef03
parentedbfa193ab15c110a99e944d070ca2a5b634c645
Copy em(4) to emx(4), which supports only 8257{1,2,3} parts.

The reasons to create another driver for 8257{1,2,3}:
- Various old hardware bug workaround code are removed, so the
  code is more straightforward, especially on the transmit path.
- Only 8257{1,2,3} support multi RX queues.
- Only 8257{1,2} support multi TX queues (no plan for it yet).
- It could be a sandbox for me to add multi queues support, while
  em(4) always works :).
sys/conf/files
sys/conf/options
sys/config/LINT
sys/dev/netif/Makefile
sys/dev/netif/emx/Makefile [new file with mode: 0644]
sys/dev/netif/emx/if_emx.c [new file with mode: 0644]
sys/dev/netif/emx/if_emx.h [new file with mode: 0644]