svn commit: r207788 - stable/8/sys/dev/ahci
Alexander Motin
mav at FreeBSD.org
Sat May 8 16:10:55 UTC 2010
Author: mav
Date: Sat May 8 16:10:54 2010
New Revision: 207788
URL: http://svn.freebsd.org/changeset/base/207788
Log:
MFC r207511:
Enable PCI busmastering explicitly to be sure.
Modified:
stable/8/sys/dev/ahci/ahci.c
Directory Properties:
stable/8/sys/ (props changed)
stable/8/sys/amd64/include/xen/ (props changed)
stable/8/sys/cddl/contrib/opensolaris/ (props changed)
stable/8/sys/contrib/dev/acpica/ (props changed)
stable/8/sys/contrib/pf/ (props changed)
stable/8/sys/dev/xen/xenpci/ (props changed)
stable/8/sys/geom/sched/ (props changed)
Modified: stable/8/sys/dev/ahci/ahci.c
==============================================================================
--- stable/8/sys/dev/ahci/ahci.c Sat May 8 16:06:54 2010 (r207787)
+++ stable/8/sys/dev/ahci/ahci.c Sat May 8 16:10:54 2010 (r207788)
@@ -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);
More information about the svn-src-stable
mailing list