From 2980fae42bf12eeb5ac3ac46d0117b68f3bd35fd Mon Sep 17 00:00:00 2001 From: Matthew Dillon Date: Fri, 5 Nov 2004 17:13:44 +0000 Subject: [PATCH] Bring in some more PCI ID's from FreeBSD. Submitted-by: Andreas Hauser Taken-from: FreeBSD --- sys/dev/netif/nv/if_nv.c | 24 ++++++++++++++++-------- sys/dev/netif/nv/if_nvreg.h | 6 +++++- 2 files changed, 21 insertions(+), 9 deletions(-) diff --git a/sys/dev/netif/nv/if_nv.c b/sys/dev/netif/nv/if_nv.c index 3689c6832d..b3bef44498 100644 --- a/sys/dev/netif/nv/if_nv.c +++ b/sys/dev/netif/nv/if_nv.c @@ -24,7 +24,7 @@ * SUCH DAMAGE. * * $Id: if_nv.c,v 1.9 2003/12/13 15:27:40 q Exp $ - * $DragonFly: src/sys/dev/netif/nv/Attic/if_nv.c,v 1.6 2004/10/14 18:31:02 dillon Exp $ + * $DragonFly: src/sys/dev/netif/nv/Attic/if_nv.c,v 1.7 2004/11/05 17:13:44 dillon Exp $ */ /* @@ -188,13 +188,21 @@ DRIVER_MODULE(nv, pci, nv_driver, nv_devclass, 0, 0); DRIVER_MODULE(miibus, nv, miibus_driver, miibus_devclass, 0, 0); static struct nv_type nv_devs[] = { - {NVIDIA_VENDORID, NFORCE_MCPNET1_DEVICEID, - "NVIDIA nForce MCP Networking Adapter"}, - {NVIDIA_VENDORID, NFORCE_MCPNET2_DEVICEID, - "NVIDIA nForce MCP2 Networking Adapter"}, - {NVIDIA_VENDORID, NFORCE_MCPNET3_DEVICEID, - "NVIDIA nForce MCP3 Networking Adapter"}, - {0, 0, NULL} + {NVIDIA_VENDORID, NFORCE_MCPNET1_DEVICEID, + "NVIDIA nForce MCP Networking Adapter"}, + {NVIDIA_VENDORID, NFORCE_MCPNET2_DEVICEID, + "NVIDIA nForce MCP2 Networking Adapter"}, + {NVIDIA_VENDORID, NFORCE_MCPNET3_DEVICEID, + "NVIDIA nForce MCP3 Networking Adapter"}, + {NVIDIA_VENDORID, NFORCE_MCPNET4_DEVICEID, + "NVIDIA nForce MCP4 Networking Adapter"}, + {NVIDIA_VENDORID, NFORCE_MCPNET5_DEVICEID, + "NVIDIA nForce MCP5 Networking Adapter"}, + {NVIDIA_VENDORID, NFORCE_MCPNET6_DEVICEID, + "NVIDIA nForce MCP6 Networking Adapter"}, + {NVIDIA_VENDORID, NFORCE_MCPNET7_DEVICEID, + "NVIDIA nForce MCP7 Networking Adapter"}, + {0, 0, NULL} }; /* DMA MEM map callback function to get data segment physical address */ diff --git a/sys/dev/netif/nv/if_nvreg.h b/sys/dev/netif/nv/if_nvreg.h index a408a4dcb2..d8fa925d78 100644 --- a/sys/dev/netif/nv/if_nvreg.h +++ b/sys/dev/netif/nv/if_nvreg.h @@ -24,7 +24,7 @@ * SUCH DAMAGE. * * $Id: if_nvreg.h,v 1.3 2003/11/08 13:03:01 q Exp $ - * $DragonFly: src/sys/dev/netif/nv/Attic/if_nvreg.h,v 1.4 2004/09/15 01:32:07 joerg Exp $ + * $DragonFly: src/sys/dev/netif/nv/Attic/if_nvreg.h,v 1.5 2004/11/05 17:13:44 dillon Exp $ */ #ifndef _IF_NVREG_H_ @@ -41,6 +41,10 @@ #define NFORCE_MCPNET1_DEVICEID 0x01C3 #define NFORCE_MCPNET2_DEVICEID 0x0066 #define NFORCE_MCPNET3_DEVICEID 0x00D6 +#define NFORCE_MCPNET4_DEVICEID 0x0086 +#define NFORCE_MCPNET5_DEVICEID 0x008C +#define NFORCE_MCPNET6_DEVICEID 0x00E6 +#define NFORCE_MCPNET7_DEVICEID 0x00DF #define NV_RID 0x10 -- 2.11.4.GIT