Author: yongari
Date: Mon Jan 17 02:23:50 2011
New Revision: 217498
URL: http://svn.freebsd.org/changeset/base/217498

Log:
  Add initial support for RTL8168E/8111E-VL PCIe GbE.
  
  H/W donated by:       Realtek Semiconductor Corp.

Modified:
  head/sys/dev/re/if_re.c
  head/sys/pci/if_rlreg.h

Modified: head/sys/dev/re/if_re.c
==============================================================================
--- head/sys/dev/re/if_re.c     Mon Jan 17 01:49:47 2011        (r217497)
+++ head/sys/dev/re/if_re.c     Mon Jan 17 02:23:50 2011        (r217498)
@@ -221,6 +221,7 @@ static struct rl_hwrev re_hwrevs[] = {
        { RL_HWREV_8168D, RL_8169, "8168D/8111D"},
        { RL_HWREV_8168DP, RL_8169, "8168DP/8111DP"},
        { RL_HWREV_8168E, RL_8169, "8168E/8111E"},
+       { RL_HWREV_8168E_VL, RL_8169, "8168E/8111E-VL"},
        { 0, 0, NULL }
 };
 
@@ -1346,6 +1347,11 @@ re_attach(device_t dev)
                    RL_FLAG_PAR | RL_FLAG_DESCV2 | RL_FLAG_MACSTAT |
                    RL_FLAG_CMDSTOP | RL_FLAG_AUTOPAD | RL_FLAG_NOJUMBO;
                break;
+       case RL_HWREV_8168E_VL:
+               sc->rl_flags |= RL_FLAG_PHYWAKE | RL_FLAG_PAR |
+                   RL_FLAG_DESCV2 | RL_FLAG_MACSTAT | RL_FLAG_CMDSTOP |
+                   RL_FLAG_AUTOPAD | RL_FLAG_NOJUMBO;
+               break;
        case RL_HWREV_8169_8110SB:
        case RL_HWREV_8169_8110SBL:
        case RL_HWREV_8169_8110SC:

Modified: head/sys/pci/if_rlreg.h
==============================================================================
--- head/sys/pci/if_rlreg.h     Mon Jan 17 01:49:47 2011        (r217497)
+++ head/sys/pci/if_rlreg.h     Mon Jan 17 02:23:50 2011        (r217498)
@@ -165,6 +165,7 @@
 #define        RL_HWREV_8168D          0x28000000
 #define        RL_HWREV_8168DP         0x28800000
 #define        RL_HWREV_8168E          0x2C000000
+#define        RL_HWREV_8168E_VL       0x2C800000
 #define        RL_HWREV_8168_SPIN1     0x30000000
 #define        RL_HWREV_8100E          0x30800000
 #define        RL_HWREV_8101E          0x34000000
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to