diff options
author | mav <mav@FreeBSD.org> | 2010-05-02 14:46:05 +0000 |
---|---|---|
committer | mav <mav@FreeBSD.org> | 2010-05-02 14:46:05 +0000 |
commit | 0291fae9147177c16138f9331e693fabb1c2658b (patch) | |
tree | 3f1d5ebc35a560cb79b197648e69c12da6d29f60 /sys/dev/ahci | |
parent | d5713c1a661261bc94fc6cb2d001d097809354b4 (diff) | |
download | FreeBSD-src-0291fae9147177c16138f9331e693fabb1c2658b.zip FreeBSD-src-0291fae9147177c16138f9331e693fabb1c2658b.tar.gz |
Enable PCI busmastering explicitly to be sure.
Diffstat (limited to 'sys/dev/ahci')
-rw-r--r-- | sys/dev/ahci/ahci.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/dev/ahci/ahci.c b/sys/dev/ahci/ahci.c index 60fb851..1aa719e 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); |