Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/pci updated patch from Andrius - update the chip map...



details:   https://anonhg.NetBSD.org/src/rev/e6fd96eed8bf
branches:  trunk
changeset: 999446:e6fd96eed8bf
user:      jdolecek <jdolecek%NetBSD.org@localhost>
date:      Sun Jun 02 14:48:55 2019 +0000

description:
updated patch from Andrius - update the chip map for CX700 to use
via_sata_chip_map_new, this seems to eliminate the ghost non-existing viaide1

XXX guess should use via_sata_chip_map_new for PCI_PRODUCT_VIATECH_CX700M2_IDE
XXX too, but this needs test on real hw

remove again the entries for VX800 and VX855 from pciide_via_products[],
as that part is untested with real hw

update for PR kern/43309

diffstat:

 sys/dev/pci/viaide.c |  16 +++-------------
 1 files changed, 3 insertions(+), 13 deletions(-)

diffs (43 lines):

diff -r 1020b7ea6eb8 -r e6fd96eed8bf sys/dev/pci/viaide.c
--- a/sys/dev/pci/viaide.c      Sun Jun 02 11:35:55 2019 +0000
+++ b/sys/dev/pci/viaide.c      Sun Jun 02 14:48:55 2019 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: viaide.c,v 1.88 2019/06/01 08:20:14 jdolecek Exp $     */
+/*     $NetBSD: viaide.c,v 1.89 2019/06/02 14:48:55 jdolecek Exp $     */
 
 /*
  * Copyright (c) 1999, 2000, 2001 Manuel Bouyer.
@@ -26,7 +26,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: viaide.c,v 1.88 2019/06/01 08:20:14 jdolecek Exp $");
+__KERNEL_RCSID(0, "$NetBSD: viaide.c,v 1.89 2019/06/02 14:48:55 jdolecek Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -302,23 +302,13 @@
        { PCI_PRODUCT_VIATECH_CX700_IDE,
          0,
          NULL,
-         via_chip_map,
+         via_sata_chip_map_new,
        },
        { PCI_PRODUCT_VIATECH_CX700M2_IDE,
          0,
          NULL,
          via_chip_map,
        },
-       { PCI_PRODUCT_VIATECH_VX800,
-         0,
-         "VIA Technologies VX800 SATA Controller",
-         via_sata_chip_map_new,
-       },
-       { PCI_PRODUCT_VIATECH_VX855,
-         0,
-         NULL,
-         via_sata_chip_map_new,
-       },
        { PCI_PRODUCT_VIATECH_VX900_IDE,
          0,
          NULL,



Home | Main Index | Thread Index | Old Index