Author: mav
Date: Sun May  2 14:46:05 2010
New Revision: 207511
URL: http://svn.freebsd.org/changeset/base/207511

Log:
  Enable PCI busmastering explicitly to be sure.

Modified:
  head/sys/dev/ahci/ahci.c

Modified: head/sys/dev/ahci/ahci.c
==============================================================================
--- head/sys/dev/ahci/ahci.c    Sun May  2 13:53:08 2010        (r207510)
+++ head/sys/dev/ahci/ahci.c    Sun May  2 14:46:05 2010        (r207511)
@@ -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);
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "[email protected]"

Reply via email to