summaryrefslogtreecommitdiff
path: root/sys/dev/pci/if_wi_pci.c
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>2001-12-20 17:41:49 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>2001-12-20 17:41:49 +0000
commitb269489afb77ac5b3a70f643fd6c6aef160491db (patch)
treefcd40428dabcee619f8818d0f6eac85ce670a9be /sys/dev/pci/if_wi_pci.c
parent46d5fecc2173cf948e12fcb3dd4eb710f30f9104 (diff)
rule: first commit, then compile
Diffstat (limited to 'sys/dev/pci/if_wi_pci.c')
-rw-r--r--sys/dev/pci/if_wi_pci.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/pci/if_wi_pci.c b/sys/dev/pci/if_wi_pci.c
index e1ab98d2483..75b0df266e3 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.10 2001/12/20 17:39:50 mickey Exp $ */
+/* $OpenBSD: if_wi_pci.c,v 1.11 2001/12/20 17:41:48 mickey Exp $ */
/*
* Copyright (c) 2001 Todd C. Miller <Todd.Miller@courtesan.com>
@@ -232,7 +232,7 @@ wi_pci_attach(parent, self, aux)
}
printf(": %s", intrstr);
- if (pp->pp_plx)
+ if (pp->pp_plx) {
/*
* Setup the PLX chip for level interrupts and config index 1
* XXX - should really reset the PLX chip too.
@@ -241,7 +241,7 @@ wi_pci_attach(parent, self, aux)
WI_PLX_COR_OFFSET, WI_PLX_COR_VALUE);
wi_attach(sc, 1);
- else {
+ } else {
bus_space_write_2(iot, ioh, WI_PCI_COR, WI_PCI_SOFT_RESET);
DELAY(100*1000); /* 100 m sec */
bus_space_write_2(iot, ioh, WI_PCI_COR, 0x0);