Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dev/pci PR/29614: Andrzej Kukula: Missing PCI IDs of ATI...



details:   https://anonhg.NetBSD.org/src/rev/aca2beca51ff
branches:  trunk
changeset: 574621:aca2beca51ff
user:      christos <christos%NetBSD.org@localhost>
date:      Mon Mar 07 02:27:17 2005 +0000

description:
PR/29614: Andrzej Kukula: Missing PCI IDs of ATI IXP 300 and 400 ATA controller

diffstat:

 sys/dev/pci/ixpide.c |  20 ++++++++------------
 sys/dev/pci/pcidevs  |   6 ++++--
 2 files changed, 12 insertions(+), 14 deletions(-)

diffs (62 lines):

diff -r 74a9a22f7d6f -r aca2beca51ff sys/dev/pci/ixpide.c
--- a/sys/dev/pci/ixpide.c      Mon Mar 07 02:26:31 2005 +0000
+++ b/sys/dev/pci/ixpide.c      Mon Mar 07 02:27:17 2005 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ixpide.c,v 1.2 2005/02/27 00:27:33 perry Exp $ */
+/*     $NetBSD: ixpide.c,v 1.3 2005/03/07 02:27:17 christos Exp $      */
 
 /*
  *  Copyright (c) 2004 The NetBSD Foundation.
@@ -37,7 +37,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ixpide.c,v 1.2 2005/02/27 00:27:33 perry Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ixpide.c,v 1.3 2005/03/07 02:27:17 christos Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -57,17 +57,13 @@
 CFATTACH_DECL(ixpide, sizeof(struct pciide_softc),
     ixpide_match, ixpide_attach, NULL, NULL);
 
+static const char ixpdesc[] = "ATI Technologies IXP IDE Controller";
+
 static const struct pciide_product_desc pciide_ixpide_products[] = {
-       { PCI_PRODUCT_ATI_IXP_IDE,
-         0,
-         "ATI Technologies IXP IDE Controller",
-         ixp_chip_map
-       },
-       { 0,
-         0,
-         NULL,
-         NULL
-       }
+       { PCI_PRODUCT_ATI_IXP_IDE_200, 0, ixpdesc, ixp_chip_map },
+       { PCI_PRODUCT_ATI_IXP_IDE_300, 0, ixpdesc, ixp_chip_map },
+       { PCI_PRODUCT_ATI_IXP_IDE_400, 0, ixpdesc, ixp_chip_map },
+       { 0,                           0, NULL,    NULL }
 };
 
 static int
diff -r 74a9a22f7d6f -r aca2beca51ff sys/dev/pci/pcidevs
--- a/sys/dev/pci/pcidevs       Mon Mar 07 02:26:31 2005 +0000
+++ b/sys/dev/pci/pcidevs       Mon Mar 07 02:27:17 2005 +0000
@@ -1,4 +1,4 @@
-$NetBSD: pcidevs,v 1.695 2005/02/27 00:27:33 perry Exp $
+$NetBSD: pcidevs,v 1.696 2005/03/07 02:27:17 christos Exp $
 
 /*
  * Copyright (c) 1995, 1996 Christopher G. Demetriou
@@ -959,7 +959,9 @@
 product        ATI IXP_AUDIO_200       0x4341  IXP AC'97 Audio Controller
 product        ATI IXP_AUDIO_300       0x4361  IXP AC'97 Audio Controller
 product        ATI IXP_AUDIO_400       0x4370  IXP AC'97 Audio Controller
-product ATI IXP_IDE            0x4349  IXP IDE Controller
+product        ATI IXP_IDE_200         0x4349  IXP IDE Controller
+product        ATI IXP_IDE_300         0x4369  IXP IDE Controller
+product        ATI IXP_IDE_400         0x4376  IXP IDE Controller
 product ATI MACH64_CT          0x4354  Mach64 CT
 product ATI MACH64_CX          0x4358  Mach64 CX
 product ATI RAGE_PRO_AGP       0x4742  3D Rage Pro (AGP)



Home | Main Index | Thread Index | Old Index