NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

PR/40605 CVS commit: [netbsd-5] src/sys/dev

The following reply was made to PR kern/40605; it has been noted by GNATS.

From: Soren Jacobsen <>
Subject: PR/40605 CVS commit: [netbsd-5] src/sys/dev
Date: Fri, 19 Jun 2009 21:51:44 +0000

 Module Name:   src
 Committed By:  snj
 Date:          Fri Jun 19 21:51:44 UTC 2009
 Modified Files:
        src/sys/dev/ic [netbsd-5]: rtl8169.c rtl81x9reg.h rtl81x9var.h
        src/sys/dev/mii [netbsd-5]: rgephy.c
        src/sys/dev/pci [netbsd-5]: if_re_pci.c
 Log Message:
 Pull up following revision(s) (requested by tsutsui in ticket #821):
        sys/dev/ic/rtl8169.c: revisions 1.107, 1.114-1.119, 1.121
        sys/dev/ic/rtl81x9reg.h: revisions 1.36-1.39
        sys/dev/ic/rtl81x9var.h: revision 1.47
        sys/dev/mii/rgephy.c: revision 1.27 via patch
        sys/dev/pci/if_re_pci.c: revision 1.36
 remove extra semicolons.
 Add HWREV values of RTL8168CP and RTL8168D.  From FreeBSD.
 XXX: needs more quirk handling after wakeup for newer chips.
 Add HWREV of RTL8102EL variant.  From FUKAUMI Naoki.
 Assume an unknown HWREV chip has the same features with the latest one.
 Remove suffix "B" from rtk_name of PCI_PRODUCT_REALTEK_RT8168 devices.
 All 8168/8111 variants (8168/8168B/8168C/8168CP/8168D/8111B/8111C/8111CP)
 have the same PCI device ID.
 Remove magic reset sequence except wakeup for rev 2 chips which breaks 8111D.
 Problem reported and fix confirmed by Thomas Bieg on current-users.
 Also tested on 8111C (no bad side effect) by several users privately.
 Pull some changes for newer chips from FreeBSD:
 - pull MACSTAT and CMDSTOP quirks for 8168/8111 chips
 - always set CPLUSCMD_PCI_MRW on reset
 - set VLANSTRIP and RXCSUM_ENB bits on CPLUS register per if_capenable
 Tested on 8111C and 8111D by several users, and
 no bad side effect on my old 8169S.
 Remove unused sc_rev settings (all quirks are handled by sc_quirk)
 and merge HWREV cases which have the same quirks.
 - rename RTK_HWREV_8102EL_SPIN2 -> RTK_HWREV_8103E
 - add a HWREV value for 8168DP
 Per Realtek's Linux drivers.
 Two fixes for RX hwcsum on DESCV2 chips:
  * On checking TCPv4/UDPv4 RX checksum on DESCV2 chips, also check
    RE_RDESC_VLANCTL_IPV4 bit because those DESCV2 chips may also recognize
    IPv6 packets and set RE_PROTOID_TCPIP or RE_PROTOID_UDPIP bits for
    TCPv6/UDPv6 packets.  This may fix PR kern/40605.
  * According to Realtek's Linux driver, DESCV2 chips don't set RE_PROTOID_IP
    for non-TCP/UDP IP packets (set only RE_RDESC_VLANCTL_IPV[46]) so
    remove PROTOID check for IPv4 RX cheksum on DESCV2 chips.
 To generate a diff of this commit:
 cvs rdiff -u -r1.105.4.7 -r1.105.4.8 src/sys/dev/ic/rtl8169.c
 cvs rdiff -u -r1.32.4.3 -r1.32.4.4 src/sys/dev/ic/rtl81x9reg.h
 cvs rdiff -u -r1.41.12.4 -r1.41.12.5 src/sys/dev/ic/rtl81x9var.h
 cvs rdiff -u -r1.21 -r1.21.10.1 src/sys/dev/mii/rgephy.c
 cvs rdiff -u -r1.35 -r1.35.4.1 src/sys/dev/pci/if_re_pci.c
 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

Home | Main Index | Thread Index | Old Index