summaryrefslogtreecommitdiffstats
path: root/sys/dev
diff options
context:
space:
mode:
authoryongari <yongari@FreeBSD.org>2008-12-02 03:39:34 +0000
committeryongari <yongari@FreeBSD.org>2008-12-02 03:39:34 +0000
commit98505b1380b1090467a3f78206af60007bace16a (patch)
treee0e99f95a8cfb67799d73f1cb0bd7a857168b7db /sys/dev
parentdcd51aaf54363f860c85b26b4e370144981127c2 (diff)
downloadFreeBSD-src-98505b1380b1090467a3f78206af60007bace16a.zip
FreeBSD-src-98505b1380b1090467a3f78206af60007bace16a.tar.gz
Add 8168D support.
Submitted by: Andrew < andrewwtulloch <> gmail DOT com >
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/re/if_re.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/dev/re/if_re.c b/sys/dev/re/if_re.c
index 012a9cf..51e8237 100644
--- a/sys/dev/re/if_re.c
+++ b/sys/dev/re/if_re.c
@@ -172,7 +172,7 @@ static struct rl_type re_devs[] = {
{ RT_VENDORID, RT_DEVICEID_8101E, 0,
"RealTek 8101E/8102E/8102EL PCIe 10/100baseTX" },
{ RT_VENDORID, RT_DEVICEID_8168, 0,
- "RealTek 8168/8168B/8168C/8168CP/8111B/8111C/8111CP PCIe "
+ "RealTek 8168/8168B/8168C/8168CP/8168D/8111B/8111C/8111CP PCIe "
"Gigabit Ethernet" },
{ RT_VENDORID, RT_DEVICEID_8169, 0,
"RealTek 8169/8169S/8169SB(L)/8110S/8110SB(L) Gigabit Ethernet" },
@@ -213,6 +213,7 @@ static struct rl_hwrev re_hwrevs[] = {
{ RL_HWREV_8168C, RL_8169, "8168C/8111C"},
{ RL_HWREV_8168C_SPIN2, RL_8169, "8168C/8111C"},
{ RL_HWREV_8168CP, RL_8169, "8168CP/8111CP"},
+ { RL_HWREV_8168D, RL_8169, "8168D"},
{ 0, 0, NULL }
};
@@ -1225,6 +1226,7 @@ re_attach(device_t dev)
case RL_HWREV_8168C:
case RL_HWREV_8168C_SPIN2:
case RL_HWREV_8168CP:
+ case RL_HWREV_8168D:
sc->rl_flags |= RL_FLAG_INVMAR | RL_FLAG_PHYWAKE |
RL_FLAG_PAR | RL_FLAG_DESCV2 | RL_FLAG_MACSTAT;
/*
OpenPOWER on IntegriCloud