From 205367f9bcb541eeca05f663bd2ca612bc6333ea Mon Sep 17 00:00:00 2001 From: Alexander Motin Date: Sun, 2 May 2010 14:46:05 +0000 Subject: [PATCH] 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 60fb85153a8..1aa719e044b 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);