NetBSD-Bugs archive

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

Re: kern/37826 (Kernel sees only one SATA channel (out of four) on Abit AN52 motherboard (nvidia nf520__single chip))



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

From: Christoph Egger <Christoph_Egger%gmx.de@localhost>
To: Art Lemasters <develunix%gmail.com@localhost>
Cc: David Holland <dholland-bugs%netbsd.org@localhost>, 
kern-bug-people%netbsd.org@localhost, 
 netbsd-bugs%netbsd.org@localhost, gnats-admin%netbsd.org@localhost, 
dholland%netbsd.org@localhost, 
 gnats-bugs%netbsd.org@localhost
Subject: Re: kern/37826 (Kernel sees only one SATA channel (out of four) on
        Abit AN52 motherboard (nvidia nf520__single chip))
Date: Fri, 27 Mar 2009 06:40:15 +0100

 Art Lemasters wrote:
 > On Tue, Mar 24, 2009 at 3:12 PM, David Holland 
 > <dholland-bugs%netbsd.org@localhost> wrote:
 >> The IDE drivers are machine-independent, yes.
 >>
 >> I think I see what the problem likely is: there are four PCI IDs for
 >> the MCP65 SATA controller, and only one of them is listed in
 >> ahcisata_pci.c.
 >>
 >> Try the following patch (with GENERIC):
 >>
 >> Index: pci/ahcisata_pci.c
 >> ===================================================================
 >> RCS file: /cvsroot/src/sys/dev/pci/ahcisata_pci.c,v
 >> retrieving revision 1.13
 >> diff -u -p -r1.13 ahcisata_pci.c
 >> --- pci/ahcisata_pci.c  8 Dec 2008 15:35:23 -0000       1.13
 >> +++ pci/ahcisata_pci.c  24 Mar 2009 21:06:33 -0000
 >> @@ -54,6 +54,12 @@ __KERNEL_RCSID(0, "$NetBSD: ahcisata_pci
 >>  static const struct pci_quirkdata ahci_pci_quirks[] = {
 >>        { PCI_VENDOR_NVIDIA, PCI_PRODUCT_NVIDIA_MCP65_SATA,
 >>            AHCI_PCI_QUIRK_FORCE },
 >> +       { PCI_VENDOR_NVIDIA, PCI_PRODUCT_NVIDIA_MCP65_SATA2,
 >> +           AHCI_PCI_QUIRK_FORCE },
 >> +       { PCI_VENDOR_NVIDIA, PCI_PRODUCT_NVIDIA_MCP65_SATA3,
 >> +           AHCI_PCI_QUIRK_FORCE },
 >> +       { PCI_VENDOR_NVIDIA, PCI_PRODUCT_NVIDIA_MCP65_SATA4,
 >> +           AHCI_PCI_QUIRK_FORCE },
 >>        { PCI_VENDOR_NVIDIA, PCI_PRODUCT_NVIDIA_MCP67_SATA,
 >>            AHCI_PCI_QUIRK_FORCE },
 >>        { PCI_VENDOR_NVIDIA, PCI_PRODUCT_NVIDIA_MCP73_AHCI_1,
 
 Hey, this is great! I have a HP Pavilion 9700 laptop which
 has exactly this MCP65 controller and two internal disks.
 With this diff, netbsd finds the second disk and is usable
 for me, too.
 
 Now, I also have a wd0 and wd1.
 
 Christoph
 


Home | Main Index | Thread Index | Old Index