svn commit: r199944 - in stable/7/sys: dev/re pci

Pyun YongHyeon yongari at FreeBSD.org
Sun Nov 29 20:31:09 UTC 2009


Author: yongari
Date: Sun Nov 29 20:31:09 2009
New Revision: 199944
URL: http://svn.freebsd.org/changeset/base/199944

Log:
  MFC r195675:
    Adding hardware ID for RTL810x PCIe found on HP Pavilion DV2-1022AX.

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

Modified: stable/7/sys/dev/re/if_re.c
==============================================================================
--- stable/7/sys/dev/re/if_re.c	Sun Nov 29 20:20:34 2009	(r199943)
+++ stable/7/sys/dev/re/if_re.c	Sun Nov 29 20:31:09 2009	(r199944)
@@ -211,6 +211,7 @@ static struct rl_hwrev re_hwrevs[] = {
 	{ RL_HWREV_8101E, RL_8169, "8101E"},
 	{ RL_HWREV_8102E, RL_8169, "8102E"},
 	{ RL_HWREV_8102EL, RL_8169, "8102EL"},
+	{ RL_HWREV_8102EL_SPIN1, RL_8169, "8102EL"},
 	{ RL_HWREV_8168_SPIN2, RL_8169, "8168"},
 	{ RL_HWREV_8168_SPIN3, RL_8169, "8168"},
 	{ RL_HWREV_8168C, RL_8169, "8168C/8111C"},
@@ -1261,6 +1262,7 @@ re_attach(device_t dev)
 		break;
 	case RL_HWREV_8102E:
 	case RL_HWREV_8102EL:
+	case RL_HWREV_8102EL_SPIN1:
 		sc->rl_flags |= RL_FLAG_NOJUMBO | RL_FLAG_PHYWAKE |
 		    RL_FLAG_PAR | RL_FLAG_DESCV2 | RL_FLAG_MACSTAT |
 		    RL_FLAG_FASTETHER | RL_FLAG_CMDSTOP;

Modified: stable/7/sys/pci/if_rlreg.h
==============================================================================
--- stable/7/sys/pci/if_rlreg.h	Sun Nov 29 20:20:34 2009	(r199943)
+++ stable/7/sys/pci/if_rlreg.h	Sun Nov 29 20:31:09 2009	(r199944)
@@ -159,6 +159,7 @@
 #define RL_HWREV_8169_8110SB	0x10000000
 #define RL_HWREV_8169_8110SC	0x18000000
 #define RL_HWREV_8102EL		0x24800000
+#define RL_HWREV_8102EL_SPIN1	0x24c00000
 #define RL_HWREV_8168D		0x28000000
 #define RL_HWREV_8168DP		0x28800000
 #define RL_HWREV_8168_SPIN1	0x30000000


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