Enable PCI busmastering explicitly to be sure.
This commit is contained in:
parent
7e9aef235a
commit
205367f9bc
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…
Add table
Reference in a new issue