summaryrefslogtreecommitdiffstats
path: root/sys/dev/isci/isci.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/isci/isci.c')
-rw-r--r--sys/dev/isci/isci.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/dev/isci/isci.c b/sys/dev/isci/isci.c
index 2f0727d..5a1066c 100644
--- a/sys/dev/isci/isci.c
+++ b/sys/dev/isci/isci.c
@@ -163,6 +163,7 @@ isci_attach(device_t device)
g_isci = isci;
isci->device = device;
+ pci_enable_busmaster(device);
isci_allocate_pci_memory(isci);
@@ -272,6 +273,7 @@ isci_detach(device_t device)
pci_release_msi(device);
}
+ pci_disable_busmaster(device);
return (0);
}
OpenPOWER on IntegriCloud