summaryrefslogtreecommitdiff
path: root/sys/dev/pci
diff options
context:
space:
mode:
authorBrad Smith <brad@cvs.openbsd.org>2006-07-23 02:12:13 +0000
committerBrad Smith <brad@cvs.openbsd.org>2006-07-23 02:12:13 +0000
commit0c29a0fc813c96d17673a55ebf5f4abbfe5ab91d (patch)
treeae419aee36eed721390ccdb20d6ba7fe83453ced /sys/dev/pci
parentffeb187449b04e6c2bc1b3e8e1d09a8b17523fc9 (diff)
add NVidia MCP61/65 ids.
Diffstat (limited to 'sys/dev/pci')
-rw-r--r--sys/dev/pci/if_nfe.c20
-rw-r--r--sys/dev/pci/nviic.c6
-rw-r--r--sys/dev/pci/pciide.c38
3 files changed, 59 insertions, 5 deletions
diff --git a/sys/dev/pci/if_nfe.c b/sys/dev/pci/if_nfe.c
index c067654b390..cd4378ea7e4 100644
--- a/sys/dev/pci/if_nfe.c
+++ b/sys/dev/pci/if_nfe.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_nfe.c,v 1.63 2006/06/17 18:00:43 brad Exp $ */
+/* $OpenBSD: if_nfe.c,v 1.64 2006/07/23 02:12:12 brad Exp $ */
/*-
* Copyright (c) 2006 Damien Bergamini <damien.bergamini@free.fr>
@@ -138,7 +138,15 @@ const struct pci_matchid nfe_devices[] = {
{ PCI_VENDOR_NVIDIA, PCI_PRODUCT_NVIDIA_MCP51_LAN1 },
{ PCI_VENDOR_NVIDIA, PCI_PRODUCT_NVIDIA_MCP51_LAN2 },
{ PCI_VENDOR_NVIDIA, PCI_PRODUCT_NVIDIA_MCP55_LAN1 },
- { PCI_VENDOR_NVIDIA, PCI_PRODUCT_NVIDIA_MCP55_LAN2 }
+ { PCI_VENDOR_NVIDIA, PCI_PRODUCT_NVIDIA_MCP55_LAN2 },
+ { PCI_VENDOR_NVIDIA, PCI_PRODUCT_NVIDIA_MCP61_LAN1 },
+ { PCI_VENDOR_NVIDIA, PCI_PRODUCT_NVIDIA_MCP61_LAN2 },
+ { PCI_VENDOR_NVIDIA, PCI_PRODUCT_NVIDIA_MCP61_LAN3 },
+ { PCI_VENDOR_NVIDIA, PCI_PRODUCT_NVIDIA_MCP61_LAN4 },
+ { PCI_VENDOR_NVIDIA, PCI_PRODUCT_NVIDIA_MCP65_LAN1 },
+ { PCI_VENDOR_NVIDIA, PCI_PRODUCT_NVIDIA_MCP65_LAN2 },
+ { PCI_VENDOR_NVIDIA, PCI_PRODUCT_NVIDIA_MCP65_LAN3 },
+ { PCI_VENDOR_NVIDIA, PCI_PRODUCT_NVIDIA_MCP65_LAN4 }
};
int
@@ -206,12 +214,20 @@ nfe_attach(struct device *parent, struct device *self, void *aux)
break;
case PCI_PRODUCT_NVIDIA_MCP51_LAN1:
case PCI_PRODUCT_NVIDIA_MCP51_LAN2:
+ case PCI_PRODUCT_NVIDIA_MCP61_LAN1:
+ case PCI_PRODUCT_NVIDIA_MCP61_LAN2:
+ case PCI_PRODUCT_NVIDIA_MCP61_LAN3:
+ case PCI_PRODUCT_NVIDIA_MCP61_LAN4:
sc->sc_flags |= NFE_40BIT_ADDR;
break;
case PCI_PRODUCT_NVIDIA_CK804_LAN1:
case PCI_PRODUCT_NVIDIA_CK804_LAN2:
case PCI_PRODUCT_NVIDIA_MCP04_LAN1:
case PCI_PRODUCT_NVIDIA_MCP04_LAN2:
+ case PCI_PRODUCT_NVIDIA_MCP65_LAN1:
+ case PCI_PRODUCT_NVIDIA_MCP65_LAN2:
+ case PCI_PRODUCT_NVIDIA_MCP65_LAN3:
+ case PCI_PRODUCT_NVIDIA_MCP65_LAN4:
sc->sc_flags |= NFE_JUMBO_SUP | NFE_40BIT_ADDR | NFE_HW_CSUM;
break;
case PCI_PRODUCT_NVIDIA_MCP55_LAN1:
diff --git a/sys/dev/pci/nviic.c b/sys/dev/pci/nviic.c
index 47e2a996b6c..aa2201b9ecc 100644
--- a/sys/dev/pci/nviic.c
+++ b/sys/dev/pci/nviic.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: nviic.c,v 1.6 2006/06/29 17:59:47 brad Exp $ */
+/* $OpenBSD: nviic.c,v 1.7 2006/07/23 02:12:12 brad Exp $ */
/*
* Copyright (c) 2005 David Gwynne <dlg@openbsd.org>
@@ -120,7 +120,9 @@ const struct pci_matchid nviic_ids[] = {
{ PCI_VENDOR_NVIDIA, PCI_PRODUCT_NVIDIA_NFORCE3_250_SMB },
{ PCI_VENDOR_NVIDIA, PCI_PRODUCT_NVIDIA_NFORCE4_SMB },
{ PCI_VENDOR_NVIDIA, PCI_PRODUCT_NVIDIA_MCP51_SMB },
- { PCI_VENDOR_NVIDIA, PCI_PRODUCT_NVIDIA_MCP55_SMB }
+ { PCI_VENDOR_NVIDIA, PCI_PRODUCT_NVIDIA_MCP55_SMB },
+ { PCI_VENDOR_NVIDIA, PCI_PRODUCT_NVIDIA_MCP61_SMB },
+ { PCI_VENDOR_NVIDIA, PCI_PRODUCT_NVIDIA_MCP65_SMB }
};
int
diff --git a/sys/dev/pci/pciide.c b/sys/dev/pci/pciide.c
index 93b3af9d516..11be85b0ca0 100644
--- a/sys/dev/pci/pciide.c
+++ b/sys/dev/pci/pciide.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pciide.c,v 1.248 2006/07/16 13:24:14 jsg Exp $ */
+/* $OpenBSD: pciide.c,v 1.249 2006/07/23 02:12:12 brad Exp $ */
/* $NetBSD: pciide.c,v 1.127 2001/08/03 01:31:08 tsutsui Exp $ */
/*
@@ -859,6 +859,14 @@ const struct pciide_product_desc pciide_nvidia_products[] = {
0,
nforce_chip_map
},
+ { PCI_PRODUCT_NVIDIA_MCP61_IDE,
+ 0,
+ nforce_chip_map
+ },
+ { PCI_PRODUCT_NVIDIA_MCP65_IDE,
+ 0,
+ nforce_chip_map
+ },
{ PCI_PRODUCT_NVIDIA_NFORCE2_400_SATA,
0,
sata_chip_map
@@ -902,6 +910,34 @@ const struct pciide_product_desc pciide_nvidia_products[] = {
{ PCI_PRODUCT_NVIDIA_MCP55_SATA2,
0,
sata_chip_map
+ },
+ { PCI_PRODUCT_NVIDIA_MCP61_SATA,
+ 0,
+ sata_chip_map
+ },
+ { PCI_PRODUCT_NVIDIA_MCP61_SATA2,
+ 0,
+ sata_chip_map
+ },
+ { PCI_PRODUCT_NVIDIA_MCP61_SATA3,
+ 0,
+ sata_chip_map
+ },
+ { PCI_PRODUCT_NVIDIA_MCP65_SATA,
+ 0,
+ sata_chip_map
+ },
+ { PCI_PRODUCT_NVIDIA_MCP65_SATA2,
+ 0,
+ sata_chip_map
+ },
+ { PCI_PRODUCT_NVIDIA_MCP65_SATA3,
+ 0,
+ sata_chip_map
+ },
+ { PCI_PRODUCT_NVIDIA_MCP65_SATA4,
+ 0,
+ sata_chip_map
}
};