summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authoryongari <yongari@FreeBSD.org>2011-11-17 22:07:50 +0000
committeryongari <yongari@FreeBSD.org>2011-11-17 22:07:50 +0000
commit80bb061555075b1eb14b95d396539d4d87d3db1b (patch)
treed87b05868391637af833ce84ba05731a754b467e /sys
parentb1a07005027d83db6e4dba8a19c2d0fd01517f89 (diff)
downloadFreeBSD-src-80bb061555075b1eb14b95d396539d4d87d3db1b.zip
FreeBSD-src-80bb061555075b1eb14b95d396539d4d87d3db1b.tar.gz
Add preliminary support for RTL8168/8111F PCIe Gigabit ethernet.
H/W donated by: RealTek Semiconductor Corp.
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/re/if_re.c4
-rw-r--r--sys/pci/if_rlreg.h1
2 files changed, 4 insertions, 1 deletions
diff --git a/sys/dev/re/if_re.c b/sys/dev/re/if_re.c
index 94d16d2..3ade04c 100644
--- a/sys/dev/re/if_re.c
+++ b/sys/dev/re/if_re.c
@@ -181,7 +181,7 @@ static const struct rl_type const re_devs[] = {
{ RT_VENDORID, RT_DEVICEID_8101E, 0,
"RealTek 810xE PCIe 10/100baseTX" },
{ RT_VENDORID, RT_DEVICEID_8168, 0,
- "RealTek 8168/8111 B/C/CP/D/DP/E PCIe Gigabit Ethernet" },
+ "RealTek 8168/8111 B/C/CP/D/DP/E/F PCIe Gigabit Ethernet" },
{ RT_VENDORID, RT_DEVICEID_8169, 0,
"RealTek 8169/8169S/8169SB(L)/8110S/8110SB(L) Gigabit Ethernet" },
{ RT_VENDORID, RT_DEVICEID_8169SC, 0,
@@ -232,6 +232,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_8168F, RL_8169, "8168F/8111F", RL_JUMBO_MTU_9K},
{ RL_HWREV_8411, RL_8169, "8411", RL_JUMBO_MTU_9K},
{ 0, 0, NULL, 0 }
};
@@ -1438,6 +1439,7 @@ re_attach(device_t dev)
RL_FLAG_CMDSTOP | RL_FLAG_AUTOPAD | RL_FLAG_JUMBOV2;
break;
case RL_HWREV_8168E_VL:
+ case RL_HWREV_8168F:
case RL_HWREV_8411:
sc->rl_flags |= RL_FLAG_PHYWAKE | RL_FLAG_PAR |
RL_FLAG_DESCV2 | RL_FLAG_MACSTAT | RL_FLAG_CMDSTOP |
diff --git a/sys/pci/if_rlreg.h b/sys/pci/if_rlreg.h
index eb9786b..dfad20b 100644
--- a/sys/pci/if_rlreg.h
+++ b/sys/pci/if_rlreg.h
@@ -180,6 +180,7 @@
#define RL_HWREV_8105E 0x40800000
#define RL_HWREV_8105E_SPIN1 0x40C00000
#define RL_HWREV_8402 0x44000000
+#define RL_HWREV_8168F 0x48000000
#define RL_HWREV_8411 0x48800000
#define RL_HWREV_8139 0x60000000
#define RL_HWREV_8139A 0x70000000
OpenPOWER on IntegriCloud