diff options
author | Michael Shalayeff <mickey@cvs.openbsd.org> | 2005-08-09 04:10:14 +0000 |
---|---|---|
committer | Michael Shalayeff <mickey@cvs.openbsd.org> | 2005-08-09 04:10:14 +0000 |
commit | 8acbfa59711c28388979dd47c85ac8fda2aef774 (patch) | |
tree | 0a8f13a9f8aea3ce00fc1186bafa554451900d2b /sys/dev/pci/auich.c | |
parent | ea9360cd901a644039d864bec59eb393c782c450 (diff) |
do not set PCI_COMMAND_MASTER_ENABLE explicitly as it's already set in pcisubmatch(); kettenis@ testing; brad@ ok
Diffstat (limited to 'sys/dev/pci/auich.c')
-rw-r--r-- | sys/dev/pci/auich.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/sys/dev/pci/auich.c b/sys/dev/pci/auich.c index e51a5850f1a..04a5a882d67 100644 --- a/sys/dev/pci/auich.c +++ b/sys/dev/pci/auich.c @@ -1,4 +1,4 @@ -/* $OpenBSD: auich.c,v 1.54 2005/08/04 13:22:49 jsg Exp $ */ +/* $OpenBSD: auich.c,v 1.55 2005/08/09 04:10:10 mickey Exp $ */ /* * Copyright (c) 2000,2001 Michael Shalayeff @@ -429,11 +429,6 @@ auich_attach(parent, self, aux) return; } - /* enable bus mastering (should it not be mi?) */ - csr = pci_conf_read(pa->pa_pc, pa->pa_tag, PCI_COMMAND_STATUS_REG); - pci_conf_write(pa->pa_pc, pa->pa_tag, PCI_COMMAND_STATUS_REG, - csr | PCI_COMMAND_MASTER_ENABLE); - if (pci_intr_map(pa, &ih)) { bus_space_unmap(sc->iot, sc->aud_ioh, aud_size); bus_space_unmap(sc->iot_mix, sc->mix_ioh, mix_size); |