cvs commit: src/sys/dev/netif/re if_re.c if_rereg.h if_revar.h

Sepherosa Ziehau sephe at crater.dragonflybsd.org
Tue Nov 14 05:39:27 PST 2006


sephe       2006/11/14 05:35:49 PST

DragonFly src repository

  Modified files:
    sys/dev/netif/re     if_re.c if_rereg.h 
  Added files:
    sys/dev/netif/re     if_revar.h 
  Log:
  Sync re(4) with FreeBSD:
  - Add support for RealTek 8169SC/8110SC and RTL8101E devices.  The latter
    is a PCIe 10/100 chip.
  - Add support for RealTek RTL8168(B?)
  - Fix EEPROM reading code
  - Disable diagnostic code in re_attach() by default.  It is almost useless
    and has caused much trouble.
  - Manually padding small IP datagrams to work arround hardware checksum
    offload bug [1].  Enable IP/TCP/UDP checksum offload after this fix.
  - Work arround hardware TX bug in some PCIe re(4) devices:
    The TX command, which is issued when there is transmission in progress,
    will get lost [2].
    So at the end of re_txeof(), if there are still packets sitting in the
    TX ring, we kick the TX engine again.
  - Add a sysctl hw.reX.tx_moderation to turn on/off TX moderation.  It is
    on by default.
  - Move softc related structs from if_rereg.h into newly created if_revar.h
  
  Thank Bill Paul (wpaul at xxxxxxxxxxx) and many other people for their work
  on this driver.
  
  #
  # [1] Detailed description of this bug is at:
  #     FreeBSD dev/re/if_re.c rev1.70 by wpaul at xxxxxxxxxxx
  #
  # [2] Detailed description of this bug is at:
  #     FreeBSD dev/re/if_re.c rev1.71 by wpaul at xxxxxxxxxxx
  #
  
  Revision  Changes    Path
  1.28      +281 -120  src/sys/dev/netif/re/if_re.c
  1.7       +20 -136   src/sys/dev/netif/re/if_rereg.h


http://www.dragonflybsd.org/cvsweb/src/sys/dev/netif/re/if_re.c.diff?r1=1.27&r2=1.28&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/dev/netif/re/if_rereg.h.diff?r1=1.6&r2=1.7&f=u





More information about the Commits mailing list