svn commit: r257611 - in stable/9/sys: dev/re pci

Pyun YongHyeon yongari at FreeBSD.org
Mon Nov 4 05:49:57 UTC 2013


Author: yongari
Date: Mon Nov  4 05:49:56 2013
New Revision: 257611
URL: http://svnweb.freebsd.org/changeset/base/257611

Log:
  MFC r256828:
    Add preliminary support for RTL8106E PCIe FastEthernet.

Modified:
  stable/9/sys/dev/re/if_re.c
  stable/9/sys/pci/if_rlreg.h
Directory Properties:
  stable/9/sys/   (props changed)
  stable/9/sys/dev/   (props changed)

Modified: stable/9/sys/dev/re/if_re.c
==============================================================================
--- stable/9/sys/dev/re/if_re.c	Mon Nov  4 05:48:12 2013	(r257610)
+++ stable/9/sys/dev/re/if_re.c	Mon Nov  4 05:49:56 2013	(r257611)
@@ -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;

Modified: stable/9/sys/pci/if_rlreg.h
==============================================================================
--- stable/9/sys/pci/if_rlreg.h	Mon Nov  4 05:48:12 2013	(r257610)
+++ stable/9/sys/pci/if_rlreg.h	Mon Nov  4 05:49:56 2013	(r257611)
@@ -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


More information about the svn-src-stable-9 mailing list