Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 4 Nov 2013 05:48:12 +0000 (UTC)
From:      Pyun YongHyeon <yongari@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-10@freebsd.org
Subject:   svn commit: r257610 - in stable/10/sys: dev/re pci
Message-ID:  <201311040548.rA45mCer021770@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: yongari
Date: Mon Nov  4 05:48:12 2013
New Revision: 257610
URL: http://svnweb.freebsd.org/changeset/base/257610

Log:
  MFC r256828:
    Add preliminary support for RTL8106E PCIe FastEthernet.
  Approved by:	re (delphij)

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

Modified: stable/10/sys/dev/re/if_re.c
==============================================================================
--- stable/10/sys/dev/re/if_re.c	Mon Nov  4 05:46:31 2013	(r257609)
+++ stable/10/sys/dev/re/if_re.c	Mon Nov  4 05:48:12 2013	(r257610)
@@ -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/10/sys/pci/if_rlreg.h
==============================================================================
--- stable/10/sys/pci/if_rlreg.h	Mon Nov  4 05:46:31 2013	(r257609)
+++ stable/10/sys/pci/if_rlreg.h	Mon Nov  4 05:48:12 2013	(r257610)
@@ -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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201311040548.rA45mCer021770>