aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/pst
diff options
context:
space:
mode:
authorScott Long <scottl@FreeBSD.org>2013-08-12 23:30:01 +0000
committerScott Long <scottl@FreeBSD.org>2013-08-12 23:30:01 +0000
commitc68534f1d5bab4ad466384c4fb9bb2956811e8b9 (patch)
tree34ad11c71aadd28f5ff680b63e3f0fd70956bed5 /sys/dev/pst
parent4dc63104ae991922e7116022661fb3c7f366dd33 (diff)
Notes
Diffstat (limited to 'sys/dev/pst')
-rw-r--r--sys/dev/pst/pst-pci.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/dev/pst/pst-pci.c b/sys/dev/pst/pst-pci.c
index 7070e6b251050..8ed8fed3b8ec5 100644
--- a/sys/dev/pst/pst-pci.c
+++ b/sys/dev/pst/pst-pci.c
@@ -88,9 +88,7 @@ iop_pci_attach(device_t dev)
RF_SHAREABLE | RF_ACTIVE);
/* now setup the infrastructure to talk to the device */
- pci_write_config(dev, PCIR_COMMAND,
- pci_read_config(dev, PCIR_COMMAND, 1) |
- PCIM_CMD_MEMEN | PCIM_CMD_BUSMASTEREN, 1);
+ pci_enable_busmaster(dev);
sc->ibase = rman_get_virtual(sc->r_mem);
sc->reg = (struct i2o_registers *)sc->ibase;