summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoryongari <yongari@FreeBSD.org>2013-10-21 06:27:20 +0000
committeryongari <yongari@FreeBSD.org>2013-10-21 06:27:20 +0000
commit7e02a6331a1f9ae883696527286456e4660e8ca3 (patch)
treea091952198027e2b1f641070cc2116bd76a4797d
parentd8bf9b360febfb3ee13f0dd80cf003cec35f84a5 (diff)
downloadFreeBSD-src-7e02a6331a1f9ae883696527286456e4660e8ca3.zip
FreeBSD-src-7e02a6331a1f9ae883696527286456e4660e8ca3.tar.gz
Add preliminary support for RTL8106E PCIe FastEthernet.
H/W donated by: RealTek Semiconductor Corp.
-rw-r--r--sys/dev/re/if_re.c2
-rw-r--r--sys/pci/if_rlreg.h1
2 files changed, 3 insertions, 0 deletions
diff --git a/sys/dev/re/if_re.c b/sys/dev/re/if_re.c
index 6270ace..381fa87 100644
--- a/sys/dev/re/if_re.c
+++ b/sys/dev/re/if_re.c
@@ -223,6 +223,7 @@ static const struct rl_hwrev re_hwrevs[] = {
{ 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_8106E, RL_8169, "8106E", 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 },
@@ -1409,6 +1410,7 @@ re_attach(device_t dev)
case RL_HWREV_8401E:
case RL_HWREV_8105E:
case RL_HWREV_8105E_SPIN1:
+ case RL_HWREV_8106E:
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;
diff --git a/sys/pci/if_rlreg.h b/sys/pci/if_rlreg.h
index c3345aa..142fe48 100644
--- a/sys/pci/if_rlreg.h
+++ b/sys/pci/if_rlreg.h
@@ -189,6 +189,7 @@
#define RL_HWREV_8105E 0x40800000
#define RL_HWREV_8105E_SPIN1 0x40C00000
#define RL_HWREV_8402 0x44000000
+#define RL_HWREV_8106E 0x44800000
#define RL_HWREV_8168F 0x48000000
#define RL_HWREV_8411 0x48800000
#define RL_HWREV_8139 0x60000000
OpenPOWER on IntegriCloud