svn commit: r256828 - in head/sys: dev/re pci

Pyun YongHyeon yongari at FreeBSD.org
Mon Oct 21 06:27:20 UTC 2013


Author: yongari
Date: Mon Oct 21 06:27:20 2013
New Revision: 256828
URL: http://svnweb.freebsd.org/changeset/base/256828

Log:
  Add preliminary support for RTL8106E PCIe FastEthernet.
  
  H/W donated by:	RealTek Semiconductor Corp.

Modified:
  head/sys/dev/re/if_re.c
  head/sys/pci/if_rlreg.h

Modified: head/sys/dev/re/if_re.c
==============================================================================
--- head/sys/dev/re/if_re.c	Mon Oct 21 06:22:20 2013	(r256827)
+++ head/sys/dev/re/if_re.c	Mon Oct 21 06:27:20 2013	(r256828)
@@ -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: head/sys/pci/if_rlreg.h
==============================================================================
--- head/sys/pci/if_rlreg.h	Mon Oct 21 06:22:20 2013	(r256827)
+++ head/sys/pci/if_rlreg.h	Mon Oct 21 06:27:20 2013	(r256828)
@@ -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-head mailing list