svn commit: r287768 - in head/sys/dev: re rl
Marius Strobl
marius at FreeBSD.org
Sun Sep 13 22:22:31 UTC 2015
Author: marius
Date: Sun Sep 13 22:22:30 2015
New Revision: 287768
URL: https://svnweb.freebsd.org/changeset/base/287768
Log:
Add preliminary support for RTL8168H, tested by Sreenath Battalahalli.
MFC after: 1 week
Modified:
head/sys/dev/re/if_re.c
head/sys/dev/rl/if_rlreg.h
Modified: head/sys/dev/re/if_re.c
==============================================================================
--- head/sys/dev/re/if_re.c Sun Sep 13 21:59:56 2015 (r287767)
+++ head/sys/dev/re/if_re.c Sun Sep 13 22:22:30 2015 (r287768)
@@ -238,6 +238,7 @@ static const struct rl_hwrev re_hwrevs[]
{ RL_HWREV_8168F, RL_8169, "8168F/8111F", RL_JUMBO_MTU_9K},
{ RL_HWREV_8168G, RL_8169, "8168G/8111G", RL_JUMBO_MTU_9K},
{ RL_HWREV_8168GU, RL_8169, "8168GU/8111GU", RL_JUMBO_MTU_9K},
+ { RL_HWREV_8168H, RL_8169, "8168H/8111H", RL_JUMBO_MTU_9K},
{ RL_HWREV_8411, RL_8169, "8411", RL_JUMBO_MTU_9K},
{ RL_HWREV_8411B, RL_8169, "8411B", RL_JUMBO_MTU_9K},
{ 0, 0, NULL, 0 }
@@ -1485,6 +1486,7 @@ re_attach(device_t dev)
break;
case RL_HWREV_8168EP:
case RL_HWREV_8168G:
+ case RL_HWREV_8168H:
case RL_HWREV_8411B:
sc->rl_flags |= RL_FLAG_PHYWAKE | RL_FLAG_PAR |
RL_FLAG_DESCV2 | RL_FLAG_MACSTAT | RL_FLAG_CMDSTOP |
Modified: head/sys/dev/rl/if_rlreg.h
==============================================================================
--- head/sys/dev/rl/if_rlreg.h Sun Sep 13 21:59:56 2015 (r287767)
+++ head/sys/dev/rl/if_rlreg.h Sun Sep 13 22:22:30 2015 (r287768)
@@ -195,6 +195,7 @@
#define RL_HWREV_8168G 0x4C000000
#define RL_HWREV_8168EP 0x50000000
#define RL_HWREV_8168GU 0x50800000
+#define RL_HWREV_8168H 0x54000000
#define RL_HWREV_8411B 0x5C800000
#define RL_HWREV_8139 0x60000000
#define RL_HWREV_8139A 0x70000000
More information about the svn-src-head
mailing list