mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
MFC r207511:
Enable PCI busmastering explicitly to be sure.
This commit is contained in:
parent
967b11e3ef
commit
c200853a4b
1 changed files with 1 additions and 0 deletions
|
|
@ -340,6 +340,7 @@ ahci_attach(device_t dev)
|
|||
rman_fini(&ctlr->sc_iomem);
|
||||
return (error);
|
||||
}
|
||||
pci_enable_busmaster(dev);
|
||||
/* Reset controller */
|
||||
if ((error = ahci_ctlr_reset(dev)) != 0) {
|
||||
bus_release_resource(dev, SYS_RES_MEMORY, ctlr->r_rid, ctlr->r_mem);
|
||||
|
|
|
|||
Loading…
Reference in a new issue