Add preliminary support for second generation RTL8105E PCIe

FastEthernet.

H/W donated by:	RealTek Semiconductor Corp.
This commit is contained in:
Pyun YongHyeon 2011-11-17 21:24:56 +00:00
parent 4a612489cc
commit 6b0a8e0476
2 changed files with 3 additions and 0 deletions

View File

@ -222,6 +222,7 @@ static const struct rl_hwrev const re_hwrevs[] = {
{ RL_HWREV_8401E, RL_8169, "8401E", RL_MTU },
{ RL_HWREV_8402, RL_8169, "8402", RL_MTU },
{ RL_HWREV_8105E, RL_8169, "8105E", RL_MTU },
{ RL_HWREV_8105E_SPIN1, RL_8169, "8105E", RL_MTU },
{ RL_HWREV_8168B_SPIN2, RL_8169, "8168", RL_JUMBO_MTU },
{ RL_HWREV_8168B_SPIN3, RL_8169, "8168", RL_JUMBO_MTU },
{ RL_HWREV_8168C, RL_8169, "8168C/8111C", RL_JUMBO_MTU_6K },
@ -1405,6 +1406,7 @@ re_attach(device_t dev)
case RL_HWREV_8401E:
case RL_HWREV_8402:
case RL_HWREV_8105E:
case RL_HWREV_8105E_SPIN1:
sc->rl_flags |= RL_FLAG_PHYWAKE | RL_FLAG_PHYWAKE_PM |
RL_FLAG_PAR | RL_FLAG_DESCV2 | RL_FLAG_MACSTAT |
RL_FLAG_FASTETHER | RL_FLAG_CMDSTOP | RL_FLAG_AUTOPAD;

View File

@ -178,6 +178,7 @@
#define RL_HWREV_8168C_SPIN2 0x3C400000
#define RL_HWREV_8168CP 0x3C800000
#define RL_HWREV_8105E 0x40800000
#define RL_HWREV_8105E_SPIN1 0x40C00000
#define RL_HWREV_8402 0x44000000
#define RL_HWREV_8411 0x48800000
#define RL_HWREV_8139 0x60000000