summaryrefslogtreecommitdiff
path: root/sys/dev/pci/if_wi_pci.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/pci/if_wi_pci.c')
-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);