summaryrefslogtreecommitdiff
path: root/sys/dev/ic/bwi.c
diff options
context:
space:
mode:
authorMarcus Glocker <mglocker@cvs.openbsd.org>2007-09-23 21:45:38 +0000
committerMarcus Glocker <mglocker@cvs.openbsd.org>2007-09-23 21:45:38 +0000
commit8a4ac73c6259add5c17b78df914a0bf234155002 (patch)
treed1c741d7092599d9af3171a207023bacdee54e18 /sys/dev/ic/bwi.c
parent5f6fd67864ae90d21af62c72ef95920255078cae (diff)
Correctly clear PCI_STATUS_TARGET_TARGET_ABORT bit.
Diffstat (limited to 'sys/dev/ic/bwi.c')
-rw-r--r--sys/dev/ic/bwi.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/sys/dev/ic/bwi.c b/sys/dev/ic/bwi.c
index 7120168053a..bb36b01bfcc 100644
--- a/sys/dev/ic/bwi.c
+++ b/sys/dev/ic/bwi.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: bwi.c,v 1.41 2007/09/23 14:12:18 jsg Exp $ */
+/* $OpenBSD: bwi.c,v 1.42 2007/09/23 21:45:37 mglocker Exp $ */
/*
* Copyright (c) 2007 The DragonFly Project. All rights reserved.
@@ -5741,8 +5741,7 @@ bwi_setup_desc32(struct bwi_softc *sc, struct bwi_desc32 *desc_array,
void
bwi_power_on(struct bwi_softc *sc, int with_pll)
{
- uint32_t gpio_in, gpio_out, gpio_en;
- uint16_t status;
+ uint32_t gpio_in, gpio_out, gpio_en, status;
DPRINTF(1, "%s\n", __func__);