diff options
author | Brad Smith <brad@cvs.openbsd.org> | 2008-05-25 00:37:41 +0000 |
---|---|---|
committer | Brad Smith <brad@cvs.openbsd.org> | 2008-05-25 00:37:41 +0000 |
commit | 04b34c1334ba0bbb4b453e167c18c2262b9675e2 (patch) | |
tree | 197a4f8705a6c5b627331be434ae9ce686c09ce6 /sys/dev | |
parent | 163468b84e83c0627b5cde7234fe1cae9beaedef (diff) |
Remove redundant enabling of bus master which pci_mapreg_map() deals
with.
ok dlg@
Diffstat (limited to 'sys/dev')
-rw-r--r-- | sys/dev/pci/if_sf_pci.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/sys/dev/pci/if_sf_pci.c b/sys/dev/pci/if_sf_pci.c index 2860b501ef4..a8220e8d1f5 100644 --- a/sys/dev/pci/if_sf_pci.c +++ b/sys/dev/pci/if_sf_pci.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_sf_pci.c,v 1.5 2007/10/29 12:20:32 fgsch Exp $ */ +/* $OpenBSD: if_sf_pci.c,v 1.6 2008/05/25 00:37:40 brad Exp $ */ /* $NetBSD: if_sf_pci.c,v 1.10 2006/06/17 23:34:27 christos Exp $ */ /*- @@ -158,11 +158,6 @@ sf_pci_attach(struct device *parent, struct device *self, void *aux) sc->sc_dmat = pa->pa_dmat; - /* Make sure bus mastering is enabled. */ - pci_conf_write(pa->pa_pc, pa->pa_tag, PCI_COMMAND_STATUS_REG, - pci_conf_read(pa->pa_pc, pa->pa_tag, PCI_COMMAND_STATUS_REG) | - PCI_COMMAND_MASTER_ENABLE); - /* * Map and establish our interrupt. */ |