DragonFly-2.3.0.342.g53302 master sys/conf files options sys/config LINT sys/dev/netif Makefile sys/dev/netif/emx Makefile if_emx.c if_emx.h

Sepherosa Ziehau sephe at crater.dragonflybsd.org
Sun Mar 1 02:06:54 PST 2009


commit 5330213cf29e8324c91ddc2304610c35c18eab2f
Author: Sepherosa Ziehau <sephe at dragonflybsd.org>
Date:   Sun Mar 1 17:14:58 2009 +0800

    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 :).

Summary of changes:
 sys/conf/files             |    1 +
 sys/conf/options           |    1 +
 sys/config/LINT            |    6 +-
 sys/dev/netif/Makefile     |    2 +-
 sys/dev/netif/emx/Makefile |   16 +
 sys/dev/netif/emx/if_emx.c | 3377 ++++++++++++++++++++++++++++++++++++++++++++
 sys/dev/netif/emx/if_emx.h |  346 +++++
 7 files changed, 3747 insertions(+), 2 deletions(-)
 create mode 100644 sys/dev/netif/emx/Makefile
 create mode 100644 sys/dev/netif/emx/if_emx.c
 create mode 100644 sys/dev/netif/emx/if_emx.h

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/5330213cf29e8324c91ddc2304610c35c18eab2f


-- 
DragonFly BSD source repository





More information about the Commits mailing list