diff options
author | 2003-01-31 21:19:03 +0000 | |
---|---|---|
committer | 2003-01-31 21:19:03 +0000 | |
commit | e484861aa48d171ec99e4fe2feb3520d1badc066 (patch) | |
tree | 824c827c6db12c6475d05913913ed2fc295b2aaa | |
parent | Sigh. I comitted the wrong diff in the last vfs changes. (diff) | |
download | wireguard-openbsd-e484861aa48d171ec99e4fe2feb3520d1badc066.tar.xz wireguard-openbsd-e484861aa48d171ec99e4fe2feb3520d1badc066.zip |
These cards just don't master... don't bother trying to enable it.
-rw-r--r-- | sys/dev/pci/if_wi_pci.c | 8 |
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); |