From c200853a4bd118af5dedc689173656c651dbef4e Mon Sep 17 00:00:00 2001 From: Alexander Motin Date: Sat, 8 May 2010 16:10:54 +0000 Subject: [PATCH] MFC r207511: Enable PCI busmastering explicitly to be sure. --- sys/dev/ahci/ahci.c | 1 + 1 file changed, 1 insertion(+) diff --git a/sys/dev/ahci/ahci.c b/sys/dev/ahci/ahci.c index 22c9586f5df..a275019ba36 100644 --- a/sys/dev/ahci/ahci.c +++ b/sys/dev/ahci/ahci.c @@ -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);