Add preliminary support for RTL8411 PCIe Gigabit ethernet with

integrated card reader.

H/W donated by:	RealTek Semiconductor Corp.
This commit is contained in:
yongari 2011-11-16 22:05:38 +00:00
parent 8d68c85340
commit c0296e4e57
2 changed files with 3 additions and 0 deletions

View File

@ -231,6 +231,7 @@ static const struct rl_hwrev const re_hwrevs[] = {
{ RL_HWREV_8168DP, RL_8169, "8168DP/8111DP", RL_JUMBO_MTU_9K },
{ RL_HWREV_8168E, RL_8169, "8168E/8111E", RL_JUMBO_MTU_9K},
{ RL_HWREV_8168E_VL, RL_8169, "8168E/8111E-VL", RL_JUMBO_MTU_6K},
{ RL_HWREV_8411, RL_8169, "8411", RL_JUMBO_MTU_9K},
{ 0, 0, NULL, 0 }
};
@ -1415,6 +1416,7 @@ re_attach(device_t dev)
RL_FLAG_CMDSTOP | RL_FLAG_AUTOPAD | RL_FLAG_JUMBOV2;
break;
case RL_HWREV_8168E_VL:
case RL_HWREV_8411:
sc->rl_flags |= RL_FLAG_PHYWAKE | RL_FLAG_PAR |
RL_FLAG_DESCV2 | RL_FLAG_MACSTAT | RL_FLAG_CMDSTOP |
RL_FLAG_AUTOPAD | RL_FLAG_JUMBOV2;

View File

@ -179,6 +179,7 @@
#define RL_HWREV_8168CP 0x3C800000
#define RL_HWREV_8105E 0x40800000
#define RL_HWREV_8402 0x44000000
#define RL_HWREV_8411 0x48800000
#define RL_HWREV_8139 0x60000000
#define RL_HWREV_8139A 0x70000000
#define RL_HWREV_8139AG 0x70800000