Date: Sat, 8 May 2010 16:10:54 +0000 (UTC) From: Alexander Motin <mav@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-8@freebsd.org Subject: svn commit: r207788 - stable/8/sys/dev/ahci Message-ID: <201005081610.o48GAsGP063461@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201005081610.o48GAsGP063461>