NetBSD-Bugs archive

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

kern/40134: AHCI SATA on nForce MCP73 not recognized - including patch



>Number:         40134
>Category:       kern
>Synopsis:       AHCI SATA on nForce MCP73 not recognized - falls back to PIO
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Dec 08 12:50:00 +0000 2008
>Originator:     Bernhard Moellemann
>Release:        NetBSD 5.0_BETA
>Organization:
        <organization of PR author (multiple lines)>
>Environment:
System: NetBSD arcanic 5.0_BETA NetBSD 5.0_BETA (ARCANIC) #0: Sun Dec 7 
18:07:15 CET 2008 
root@arcanic:/mnt/top/src/src-5/obj/sys/arch/i386/compile/ARCANIC i386
Architecture: i386
Machine: i386
>Description:
The nVidia chipset AHCI-SATA-Interface nForce 630i MCP73 (Product-ID: 0x07f0)
is not recognized as ahcisata. So the kernel falls back to pciide with PIO.

Patching the ahcisata quirktable gives the desired result and it uses DMA.
>How-To-Repeat:
Boot NetBSD 5.0_BETA (or 5.99.1) with the above chipset.
>Fix:

Following a hint from tron@ this patch fixed the issue:

*** /usr/common/dosic/netbsd/src-5/sys/dev/pci/ahcisata_pci.c   Fri Aug  1 
19:17:35 2008
--- /usr/src//src-5/sys/dev/pci/ahcisata_pci.c  Sun Dec  7 17:55:56 2008
*************** static const struct pci_quirkdata ahci_p
*** 56,61 ****
--- 56,63 ----
            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,
+           AHCI_PCI_QUIRK_FORCE },
  };
  
  struct ahci_pci_softc {


    Bernhard  //
            \X/



Home | Main Index | Thread Index | Old Index