DragonFly-2.3.0.262.g9c80d master sys/conf files sys/config GENERIC JG64 LINT sys/dev/netif Makefile sys/dev/netif/em Makefile README if_em.c if_em.h if_em_hw.c if_em_hw.h if_em_osdep.h sys/dev/netif/ig_hal LICENSE Makefile e1000_80003es2lan.c e1000_80003es2lan.h e1000_82540.c e1000_82541.c e1000_82541.h e1000_82542.c e1000_82543.c e1000_82543.h e1000_82571.c e1000_82571.h e1000_82575.c e1000_82575.h e1000_api.c e1000_api.h e1000_defines.h e1000_hw.h e1000_ich8lan.c e1000_ich8lan.h e1000_mac.c e1000_mac.h e1000_manage.c e1000_manage.h e1000_nvm.c e1000_nvm.h e1000_osdep.c e1000_osdep.h e1000_phy.c e1000_phy.h e1000_regs.h

Sepherosa Ziehau sephe at crater.dragonflybsd.org
Tue Feb 24 03:02:49 PST 2009


commit 9c80d176fa568ed18fc8c8678f763f9a04556d08
Author: Sepherosa Ziehau <sephe at dragonflybsd.org>
Date:   Sun Feb 15 19:46:46 2009 +0800

    em(4): Sync with Intel's em-6.9.6(FreeBSD)
    
    In addition to adding support for some chips (e.g. 82574L), this also gives
    me the chance to rearrange and clean up if_em.[ch] :)
    
    Noticable changes to the FreeBSD driver:
    - The hardware abstraction layer is put into a seperate module (ig_hal)
    - IP csum offloading is supported when hardware TX csum offloading is enabled
    - mbufs on RX/TX ring are freed in em_stop(), i.e. during "ifconfig emX down"
    - TX pattern is adjusted that we test number of avaiable TX descs before
      dequeuing mbuf from ifq.  We also reserve double spare TX descs for 82544
      cards on PCI-X bus, so we will not need to unload the loaded mbuf in the
      mid way due to short of TX descs; this at least makes the logic a little
      bit simpler.

Summary of changes:
 sys/conf/files                           |   15 +-
 sys/config/GENERIC                       |    5 +-
 sys/config/JG64                          |    5 +-
 sys/config/LINT                          |    1 +
 sys/dev/netif/Makefile                   |    2 +-
 sys/dev/netif/em/Makefile                |    9 +-
 sys/dev/netif/em/README                  |  383 --
 sys/dev/netif/em/if_em.c                 | 4230 +++++++-------
 sys/dev/netif/em/if_em.h                 |  434 +-
 sys/dev/netif/em/if_em_hw.c              | 9197 ------------------------------
 sys/dev/netif/em/if_em_hw.h              | 3392 -----------
 sys/dev/netif/em/if_em_osdep.h           |  171 -
 sys/dev/netif/ig_hal/LICENSE             |   30 +
 sys/dev/netif/ig_hal/Makefile            |    8 +
 sys/dev/netif/ig_hal/e1000_80003es2lan.c | 1533 +++++
 sys/dev/netif/ig_hal/e1000_80003es2lan.h |  102 +
 sys/dev/netif/ig_hal/e1000_82540.c       |  676 +++
 sys/dev/netif/ig_hal/e1000_82541.c       | 1283 +++++
 sys/dev/netif/ig_hal/e1000_82541.h       |   92 +
 sys/dev/netif/ig_hal/e1000_82542.c       |  556 ++
 sys/dev/netif/ig_hal/e1000_82543.c       | 1602 ++++++
 sys/dev/netif/ig_hal/e1000_82543.h       |   57 +
 sys/dev/netif/ig_hal/e1000_82571.c       | 1521 +++++
 sys/dev/netif/ig_hal/e1000_82571.h       |   59 +
 sys/dev/netif/ig_hal/e1000_82575.c       | 1669 ++++++
 sys/dev/netif/ig_hal/e1000_82575.h       |  474 ++
 sys/dev/netif/ig_hal/e1000_api.c         | 1230 ++++
 sys/dev/netif/ig_hal/e1000_api.h         |  162 +
 sys/dev/netif/ig_hal/e1000_defines.h     | 1519 +++++
 sys/dev/netif/ig_hal/e1000_hw.h          |  840 +++
 sys/dev/netif/ig_hal/e1000_ich8lan.c     | 2638 +++++++++
 sys/dev/netif/ig_hal/e1000_ich8lan.h     |  132 +
 sys/dev/netif/ig_hal/e1000_mac.c         | 2216 +++++++
 sys/dev/netif/ig_hal/e1000_mac.h         |  102 +
 sys/dev/netif/ig_hal/e1000_manage.c      |  390 ++
 sys/dev/netif/ig_hal/e1000_manage.h      |   88 +
 sys/dev/netif/ig_hal/e1000_nvm.c         |  931 +++
 sys/dev/netif/ig_hal/e1000_nvm.h         |   68 +
 sys/dev/netif/ig_hal/e1000_osdep.c       |   87 +
 sys/dev/netif/ig_hal/e1000_osdep.h       |  167 +
 sys/dev/netif/ig_hal/e1000_phy.c         | 2554 +++++++++
 sys/dev/netif/ig_hal/e1000_phy.h         |  185 +
 sys/dev/netif/ig_hal/e1000_regs.h        |  498 ++
 43 files changed, 25913 insertions(+), 15400 deletions(-)
 delete mode 100644 sys/dev/netif/em/README
 delete mode 100644 sys/dev/netif/em/if_em_hw.c
 delete mode 100644 sys/dev/netif/em/if_em_hw.h
 delete mode 100644 sys/dev/netif/em/if_em_osdep.h
 create mode 100644 sys/dev/netif/ig_hal/LICENSE
 create mode 100644 sys/dev/netif/ig_hal/Makefile
 create mode 100644 sys/dev/netif/ig_hal/e1000_80003es2lan.c
 create mode 100644 sys/dev/netif/ig_hal/e1000_80003es2lan.h
 create mode 100644 sys/dev/netif/ig_hal/e1000_82540.c
 create mode 100644 sys/dev/netif/ig_hal/e1000_82541.c
 create mode 100644 sys/dev/netif/ig_hal/e1000_82541.h
 create mode 100644 sys/dev/netif/ig_hal/e1000_82542.c
 create mode 100644 sys/dev/netif/ig_hal/e1000_82543.c
 create mode 100644 sys/dev/netif/ig_hal/e1000_82543.h
 create mode 100644 sys/dev/netif/ig_hal/e1000_82571.c
 create mode 100644 sys/dev/netif/ig_hal/e1000_82571.h
 create mode 100644 sys/dev/netif/ig_hal/e1000_82575.c
 create mode 100644 sys/dev/netif/ig_hal/e1000_82575.h
 create mode 100644 sys/dev/netif/ig_hal/e1000_api.c
 create mode 100644 sys/dev/netif/ig_hal/e1000_api.h
 create mode 100644 sys/dev/netif/ig_hal/e1000_defines.h
 create mode 100644 sys/dev/netif/ig_hal/e1000_hw.h
 create mode 100644 sys/dev/netif/ig_hal/e1000_ich8lan.c
 create mode 100644 sys/dev/netif/ig_hal/e1000_ich8lan.h
 create mode 100644 sys/dev/netif/ig_hal/e1000_mac.c
 create mode 100644 sys/dev/netif/ig_hal/e1000_mac.h
 create mode 100644 sys/dev/netif/ig_hal/e1000_manage.c
 create mode 100644 sys/dev/netif/ig_hal/e1000_manage.h
 create mode 100644 sys/dev/netif/ig_hal/e1000_nvm.c
 create mode 100644 sys/dev/netif/ig_hal/e1000_nvm.h
 create mode 100644 sys/dev/netif/ig_hal/e1000_osdep.c
 create mode 100644 sys/dev/netif/ig_hal/e1000_osdep.h
 create mode 100644 sys/dev/netif/ig_hal/e1000_phy.c
 create mode 100644 sys/dev/netif/ig_hal/e1000_phy.h
 create mode 100644 sys/dev/netif/ig_hal/e1000_regs.h

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/9c80d176fa568ed18fc8c8678f763f9a04556d08


-- 
DragonFly BSD source repository





More information about the Commits mailing list