Module Name: src Committed By: jdolecek Date: Sun Jun 2 14:48:55 UTC 2019
Modified Files: src/sys/dev/pci: viaide.c Log Message: 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 To generate a diff of this commit: cvs rdiff -u -r1.88 -r1.89 src/sys/dev/pci/viaide.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/dev/pci/viaide.c diff -u src/sys/dev/pci/viaide.c:1.88 src/sys/dev/pci/viaide.c:1.89 --- src/sys/dev/pci/viaide.c:1.88 Sat Jun 1 08:20:14 2019 +++ src/sys/dev/pci/viaide.c Sun Jun 2 14:48:55 2019 @@ -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 @@ static const struct pciide_product_desc { 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,