diff options
author | Brad Smith <brad@cvs.openbsd.org> | 2005-07-24 19:35:47 +0000 |
---|---|---|
committer | Brad Smith <brad@cvs.openbsd.org> | 2005-07-24 19:35:47 +0000 |
commit | 5f366b8e4b9bc12305ab4d02923f01f4fa638099 (patch) | |
tree | 8f4f6b0cf3ced02418a14a7f4ed461038b3686c3 /sys/dev/pci | |
parent | 9ebe30850637417ff52e70167b5d0c2dd07363eb (diff) |
don't need to enable bus mastering in stge_attach().
Diffstat (limited to 'sys/dev/pci')
-rw-r--r-- | sys/dev/pci/if_stge.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/sys/dev/pci/if_stge.c b/sys/dev/pci/if_stge.c index 0ec114499bb..741339bef33 100644 --- a/sys/dev/pci/if_stge.c +++ b/sys/dev/pci/if_stge.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_stge.c,v 1.18 2005/07/24 18:45:32 brad Exp $ */ +/* $OpenBSD: if_stge.c,v 1.19 2005/07/24 19:35:46 brad Exp $ */ /* $NetBSD: if_stge.c,v 1.27 2005/05/16 21:35:32 bouyer Exp $ */ /*- @@ -367,11 +367,6 @@ stge_attach(struct device *parent, struct device *self, void *aux) sc->sc_dmat = pa->pa_dmat; - /* Enable bus mastering. */ - pci_conf_write(pc, pa->pa_tag, PCI_COMMAND_STATUS_REG, - pci_conf_read(pc, pa->pa_tag, PCI_COMMAND_STATUS_REG) | - PCI_COMMAND_MASTER_ENABLE); - /* Get it out of power save mode if needed. */ if (pci_get_capability(pc, pa->pa_tag, PCI_CAP_PWRMGMT, &pmreg, 0)) { pmode = pci_conf_read(pc, pa->pa_tag, pmreg + PCI_PMCSR) & |