summaryrefslogtreecommitdiff
path: root/sys/dev/pci
diff options
context:
space:
mode:
authorJason Wright <jason@cvs.openbsd.org>2003-01-31 21:19:04 +0000
committerJason Wright <jason@cvs.openbsd.org>2003-01-31 21:19:04 +0000
commitfd3cff05546fe407a7b8d2e62b0c21a36dd7d6f6 (patch)
tree0e92f318793b19e35056feeb557cb6c6457c8c18 /sys/dev/pci
parentc53791d902c38c1c191d62126c175a5697e6102d (diff)
These cards just don't master... don't bother trying to enable it.
Diffstat (limited to 'sys/dev/pci')
-rw-r--r--sys/dev/pci/if_wi_pci.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/sys/dev/pci/if_wi_pci.c b/sys/dev/pci/if_wi_pci.c
index d26adf8fdb5..ca3c845ad28 100644
--- a/sys/dev/pci/if_wi_pci.c
+++ b/sys/dev/pci/if_wi_pci.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_wi_pci.c,v 1.31 2003/01/10 22:10:19 millert Exp $ */
+/* $OpenBSD: if_wi_pci.c,v 1.32 2003/01/31 21:19:03 jason Exp $ */
/*
* Copyright (c) 2001-2003 Todd C. Miller <Todd.Miller@courtesan.com>
@@ -450,14 +450,8 @@ wi_pci_common_attach(struct pci_attach_args *pa, struct wi_softc *sc)
{
pci_intr_handle_t ih;
pci_chipset_tag_t pc = pa->pa_pc;
- pcireg_t csr;
const char *intrstr;
- /* Enable the card. */
- csr = pci_conf_read(pc, pa->pa_tag, PCI_COMMAND_STATUS_REG);
- pci_conf_write(pc, pa->pa_tag, PCI_COMMAND_STATUS_REG,
- csr | PCI_COMMAND_MASTER_ENABLE);
-
/* Make sure interrupts are disabled. */
CSR_WRITE_2(sc, WI_INT_EN, 0);
CSR_WRITE_2(sc, WI_EVENT_ACK, 0xFFFF);