Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 21 Dec 2018 02:22:11 +0000 (UTC)
From:      Mark Johnston <markj@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-12@freebsd.org
Subject:   svn commit: r342293 - stable/12/sys/dev/nfe
Message-ID:  <201812210222.wBL2MB4A030267@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: markj
Date: Fri Dec 21 02:22:11 2018
New Revision: 342293
URL: https://svnweb.freebsd.org/changeset/base/342293

Log:
  MFC r342086:
  Add support for the nForce MCP89 adapter.
  
  PR:	234015

Modified:
  stable/12/sys/dev/nfe/if_nfe.c
  stable/12/sys/dev/nfe/if_nfereg.h
Directory Properties:
  stable/12/   (props changed)

Modified: stable/12/sys/dev/nfe/if_nfe.c
==============================================================================
--- stable/12/sys/dev/nfe/if_nfe.c	Fri Dec 21 02:04:15 2018	(r342292)
+++ stable/12/sys/dev/nfe/if_nfe.c	Fri Dec 21 02:22:11 2018	(r342293)
@@ -265,6 +265,8 @@ static struct nfe_type nfe_devs[] = {
 	    "NVIDIA nForce MCP79 Networking Adapter"},
 	{PCI_VENDOR_NVIDIA, PCI_PRODUCT_NVIDIA_MCP79_LAN4,
 	    "NVIDIA nForce MCP79 Networking Adapter"},
+	{PCI_VENDOR_NVIDIA, PCI_PRODUCT_NVIDIA_MCP89_LAN,
+	    "NVIDIA nForce MCP89 Networking Adapter"},
 	{0, 0, NULL}
 };
 
@@ -531,6 +533,7 @@ nfe_attach(device_t dev)
 	case PCI_PRODUCT_NVIDIA_MCP79_LAN2:
 	case PCI_PRODUCT_NVIDIA_MCP79_LAN3:
 	case PCI_PRODUCT_NVIDIA_MCP79_LAN4:
+	case PCI_PRODUCT_NVIDIA_MCP89_LAN:
 		/* XXX flow control */
 		sc->nfe_flags |= NFE_JUMBO_SUP | NFE_40BIT_ADDR | NFE_HW_CSUM |
 		    NFE_PWR_MGMT | NFE_CORRECT_MACADDR | NFE_MIB_V3;

Modified: stable/12/sys/dev/nfe/if_nfereg.h
==============================================================================
--- stable/12/sys/dev/nfe/if_nfereg.h	Fri Dec 21 02:04:15 2018	(r342292)
+++ stable/12/sys/dev/nfe/if_nfereg.h	Fri Dec 21 02:22:11 2018	(r342293)
@@ -338,6 +338,7 @@ struct nfe_desc64 {
 #define	PCI_PRODUCT_NVIDIA_MCP79_LAN2		0x0ab1
 #define	PCI_PRODUCT_NVIDIA_MCP79_LAN3		0x0ab2
 #define	PCI_PRODUCT_NVIDIA_MCP79_LAN4		0x0ab3
+#define	PCI_PRODUCT_NVIDIA_MCP89_LAN		0x0d7d
 
 #define	PCI_PRODUCT_NVIDIA_NFORCE3_LAN2	PCI_PRODUCT_NVIDIA_NFORCE2_400_LAN1
 #define	PCI_PRODUCT_NVIDIA_NFORCE3_LAN3	PCI_PRODUCT_NVIDIA_NFORCE2_400_LAN2



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