NetBSD-Bugs archive

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

Re: kern/53524: ahcisata0 channel 0: clearing WDCTL_RST failed



The following reply was made to PR kern/53524; it has been noted by GNATS.

From: Martin Husemann <martin%duskware.de@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: 
Subject: Re: kern/53524: ahcisata0 channel 0: clearing WDCTL_RST failed
Date: Thu, 16 Aug 2018 10:19:03 +0200

 A simple work around is:
 
 Index: ahcisata_pci.c
 ===================================================================
 RCS file: /cvsroot/src/sys/dev/pci/ahcisata_pci.c,v
 retrieving revision 1.38
 diff -u -p -r1.38 ahcisata_pci.c
 --- ahcisata_pci.c	13 Oct 2016 17:11:09 -0000	1.38
 +++ ahcisata_pci.c	15 Aug 2018 13:21:10 -0000
 @@ -49,6 +49,7 @@ struct ahci_pci_quirk { 
  };
  
  static const struct ahci_pci_quirk ahci_pci_quirks[] = {
 +	{ 0x1022, 0x43b8, AHCI_QUIRK_SKIP_RESET },
  	{ PCI_VENDOR_NVIDIA, PCI_PRODUCT_NVIDIA_MCP65_SATA,
  	    AHCI_PCI_QUIRK_FORCE | AHCI_QUIRK_BADPMP },
  	{ PCI_VENDOR_NVIDIA, PCI_PRODUCT_NVIDIA_MCP65_SATA2,
 
 
 (of course needs doing the pcidevs dance first before it could go in).
 
 I also tried AHCI_QUIRK_BADPMP, but that still gave me a reset failure,
 only this time on drive 0.
 
 Should I clean this up and commit, or is there some better way?
 
 Martin
 


Home | Main Index | Thread Index | Old Index