Add initial support for RTL8168E/8111E-VL PCIe GbE.

H/W donated by:	Realtek Semiconductor Corp.
This commit is contained in:
Pyun YongHyeon 2011-01-17 02:23:50 +00:00
parent c7382949c2
commit f0431c5bb0
2 changed files with 7 additions and 0 deletions

View File

@ -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:

View File

@ -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