aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/rt2x00/rt2x00.h
diff options
context:
space:
mode:
authorIvo van Doorn <ivdoorn@gmail.com>2007-09-25 14:55:39 -0400
committerDavid S. Miller <davem@sunset.davemloft.net>2007-10-10 19:53:03 -0400
commit066cb637b1b562bebd09d237bfaaca6724f247e5 (patch)
tree340b3902e69246cb73e820bbd9994bd1bdcca402 /drivers/net/wireless/rt2x00/rt2x00.h
parent12dadb9009723dd0512091643e6e403f9e1b25cb (diff)
[PATCH] rt2x00: Reorganize rt2x00dev->flags
The rt2x00dev->flags has become a chaos over time, this will reorganize the flags by renaming, deleting, adding and properly implement the flags. Signed-off-by: Ivo van Doorn <IvDoorn@gmail.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/rt2x00/rt2x00.h')
-rw-r--r--drivers/net/wireless/rt2x00/rt2x00.h31
1 files changed, 14 insertions, 17 deletions
diff --git a/drivers/net/wireless/rt2x00/rt2x00.h b/drivers/net/wireless/rt2x00/rt2x00.h
index 5f05c7ee0dfa..ea20f3adde5b 100644
--- a/drivers/net/wireless/rt2x00/rt2x00.h
+++ b/drivers/net/wireless/rt2x00/rt2x00.h
@@ -493,24 +493,21 @@ struct rt2x00_dev {
493 * of the device capabilities are stored. 493 * of the device capabilities are stored.
494 */ 494 */
495 unsigned long flags; 495 unsigned long flags;
496#define DEVICE_ENABLED_RADIO 1 496#define DEVICE_PRESENT 1
497#define DEVICE_ENABLED_RADIO_HW 2 497#define DEVICE_REGISTERED_HW 2
498#define DEVICE_INITIALIZED 3 498#define DEVICE_INITIALIZED 3
499#define DEVICE_INITIALIZED_HW 4 499#define DEVICE_STARTED 4
500#define REQUIRE_FIRMWARE 5 500#define DEVICE_ENABLED_RADIO 5
501/* Hole: Add new Flag here */ 501#define DEVICE_ENABLED_RADIO_HW 6
502#define INTERFACE_RESUME 8 502#define DRIVER_REQUIRE_FIRMWARE 7
503#define INTERFACE_ENABLED 9 503#define DRIVER_REQUIRE_BEACON_RING 8
504/* Hole: Add new Flag here */ 504#define CONFIG_SUPPORT_HW_BUTTON 9
505#define REQUIRE_BEACON_RING 11 505#define CONFIG_FRAME_TYPE 10
506#define DEVICE_SUPPORT_HW_BUTTON 12 506#define CONFIG_RF_SEQUENCE 11
507#define CONFIG_FRAME_TYPE 13 507#define CONFIG_EXTERNAL_LNA_A 12
508#define CONFIG_RF_SEQUENCE 14 508#define CONFIG_EXTERNAL_LNA_BG 13
509/* Hole: Add new Flag here */ 509#define CONFIG_DOUBLE_ANTENNA 14
510#define CONFIG_EXTERNAL_LNA_A 16 510#define CONFIG_DISABLE_LINK_TUNING 15
511#define CONFIG_EXTERNAL_LNA_BG 17
512#define CONFIG_DOUBLE_ANTENNA 18
513#define CONFIG_DISABLE_LINK_TUNING 19
514 511
515 /* 512 /*
516 * Chipset identification. 513 * Chipset identification.