Submit #2583
closedplease enable AHCI for nvidia MCP79
0%
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
edwberger@gmail.com
Updated by swildner over 11 years ago
Thanks, I've pushed it!
I could MFC it into 3.4 if you want to run RELEASE.
Updated by swildner over 11 years ago
- Status changed from New to Closed
Fixed with f1d54ca5af4e571fdadc8aaf6b442f5fa84449de