summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorMarcus Glocker <mglocker@cvs.openbsd.org>2007-09-13 14:48:30 +0000
committerMarcus Glocker <mglocker@cvs.openbsd.org>2007-09-13 14:48:30 +0000
commitf610105e2d92c9ee0b1dc159ff80a879e2b23c70 (patch)
tree5c37b9b0053fc0100871f563b14b9a498051f720 /sys
parentd53cf41bbd3cfe9bddc257c76275bd404ecc43aa (diff)
Fix sc_dev tweak. Device attaches with correct name now.
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/ic/bwivar.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/sys/dev/ic/bwivar.h b/sys/dev/ic/bwivar.h
index 32e127ae7af..cf8650e3d6e 100644
--- a/sys/dev/ic/bwivar.h
+++ b/sys/dev/ic/bwivar.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: bwivar.h,v 1.3 2007/09/13 08:28:37 mglocker Exp $ */
+/* $OpenBSD: bwivar.h,v 1.4 2007/09/13 14:48:29 mglocker Exp $ */
/*
* Copyright (c) 2007 The DragonFly Project. All rights reserved.
@@ -381,7 +381,6 @@ struct bwi_rf {
#define BWI_ANT_MODE_UNKN 2
#define BWI_ANT_MODE_AUTO 3
-struct bwi_softc;
struct fw_image;
struct bwi_mac {
@@ -431,9 +430,9 @@ enum bwi_bus_space {
};
struct bwi_softc {
+ struct device sc_dev;
struct ieee80211com sc_ic;
uint32_t sc_flags; /* BWI_F_ */
- struct device sc_dev;
uint32_t sc_cap; /* BWI_CAP_ */
uint16_t sc_bbp_id; /* BWI_BBPID_ */