aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Johnston <markj@FreeBSD.org>2018-12-14 18:16:35 +0000
committerMark Johnston <markj@FreeBSD.org>2018-12-14 18:16:35 +0000
commit8b2de3f0d4602c920f20a5a5a79ee9576cf6baaa (patch)
tree1ac897afe72bf56916c53ca6a883a78e70f9a474
parent8a263d8fcab40dfc5cc6ddbaec61dbc9c43e47f1 (diff)
downloadsrc-8b2de3f0d4602c920f20a5a5a79ee9576cf6baaa.tar.gz
src-8b2de3f0d4602c920f20a5a5a79ee9576cf6baaa.zip
Add support for the nForce MCP89 adapter.
PR: 234015 Submitted by: Andrejs Bogdanovs <sinchiroca86@gmail.com> MFC after: 1 week
Notes
Notes: svn path=/head/; revision=342086
-rw-r--r--sys/dev/nfe/if_nfe.c3
-rw-r--r--sys/dev/nfe/if_nfereg.h1
2 files changed, 4 insertions, 0 deletions
diff --git a/sys/dev/nfe/if_nfe.c b/sys/dev/nfe/if_nfe.c
index d3accc57bd87..d4cdfb92661e 100644
--- a/sys/dev/nfe/if_nfe.c
+++ b/sys/dev/nfe/if_nfe.c
@@ -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;
diff --git a/sys/dev/nfe/if_nfereg.h b/sys/dev/nfe/if_nfereg.h
index 748c25b76093..9a2e662c55b3 100644
--- a/sys/dev/nfe/if_nfereg.h
+++ b/sys/dev/nfe/if_nfereg.h
@@ -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