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
This commit is contained in:
parent
047719ee02
commit
8f67dceb04
@ -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 pciide_via_products[] = {
|
||||
{ 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,
|
||||
|
Loading…
Reference in New Issue
Block a user