Submit #2583

please enable AHCI for nvidia MCP79

Added by edwberger 12 months ago. Updated 12 months ago.

Status:ClosedStart date:
Priority:NormalDue date:
Assignee:swildner% Done:

0%

Category:-
Target version:-

Description

I finally got around to trying to fix AHCI for my ASUS AT3N7A-1 atom/ion
motherboard machine,
after noting an OpenBSD user's experience with the same motherboard. It
appears dragonfly is
not up to date with nvidia AHCI PCI devices and the ahci attach code needs
additions.
After making the below changes and building kernel, I'm able to boot with
the BIOS set to AHCI mode.
Other nvidia motherboards are probably similarly affected by missing PCI
and attach info.

reference:
Added PCI-ID for nvidia MCP79 AHCI according to openbsd ahci bugfix posted
as http://openbsd.7691.n7.nabble.com/MPC79-in-AHCI-mode-td73751.html

changes for ASUS AT3N7A-1 motherboard bios set for AHCI

$ diff pcidevs.h pcidevs.h.orig
464d463
< #define PCI_PRODUCT_NVIDIA_MCP79_AHCI_1 0x0ab8 /* MCP79
AHCI */

$ diff ahci_attach.c ahci_attach.c.orig
73,74d72
< { PCI_VENDOR_NVIDIA, PCI_PRODUCT_NVIDIA_MCP79_AHCI_1,
< ahci_nvidia_mcp_attach, ahci_pci_detach, "NVidia-MCP79-SATA" },

Thanks!
-
Ed Berger

History

#1 Updated by swildner 12 months ago

  • Assignee set to swildner

grab

#2 Updated by swildner 12 months ago

Thanks, I've pushed it!

I could MFC it into 3.4 if you want to run RELEASE.

#3 Updated by swildner 12 months ago

  • Status changed from New to Closed

Fixed with f1d54ca5af4e571fdadc8aaf6b442f5fa84449de

Also available in: Atom PDF