diff options
Diffstat (limited to 'drivers/net/wireless/bcm43xx/bcm43xx_leds.h')
-rw-r--r-- | drivers/net/wireless/bcm43xx/bcm43xx_leds.h | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/drivers/net/wireless/bcm43xx/bcm43xx_leds.h b/drivers/net/wireless/bcm43xx/bcm43xx_leds.h index 489a2b1e9068..6f18e2f95db4 100644 --- a/drivers/net/wireless/bcm43xx/bcm43xx_leds.h +++ b/drivers/net/wireless/bcm43xx/bcm43xx_leds.h | |||
@@ -16,7 +16,7 @@ struct bcm43xx_led { | |||
16 | #define bcm43xx_led_index(led) ((int)((led) - (led)->bcm->leds)) | 16 | #define bcm43xx_led_index(led) ((int)((led) - (led)->bcm->leds)) |
17 | 17 | ||
18 | /* Delay between state changes when blinking in jiffies */ | 18 | /* Delay between state changes when blinking in jiffies */ |
19 | #define BCM43xx_LEDBLINK_SLOW (HZ / 2) | 19 | #define BCM43xx_LEDBLINK_SLOW (HZ / 1) |
20 | #define BCM43xx_LEDBLINK_MEDIUM (HZ / 4) | 20 | #define BCM43xx_LEDBLINK_MEDIUM (HZ / 4) |
21 | #define BCM43xx_LEDBLINK_FAST (HZ / 8) | 21 | #define BCM43xx_LEDBLINK_FAST (HZ / 8) |
22 | 22 | ||
@@ -37,6 +37,15 @@ enum { /* LED behaviour values */ | |||
37 | BCM43xx_LED_WEIRD,//FIXME | 37 | BCM43xx_LED_WEIRD,//FIXME |
38 | BCM43xx_LED_ASSOC, | 38 | BCM43xx_LED_ASSOC, |
39 | BCM43xx_LED_INACTIVE, | 39 | BCM43xx_LED_INACTIVE, |
40 | |||
41 | /* Behaviour values for testing. | ||
42 | * With these values it is easier to figure out | ||
43 | * the real behaviour of leds, in case the SPROM | ||
44 | * is missing information. | ||
45 | */ | ||
46 | BCM43xx_LED_TEST_BLINKSLOW, | ||
47 | BCM43xx_LED_TEST_BLINKMEDIUM, | ||
48 | BCM43xx_LED_TEST_BLINKFAST, | ||
40 | }; | 49 | }; |
41 | 50 | ||
42 | int bcm43xx_leds_init(struct bcm43xx_private *bcm); | 51 | int bcm43xx_leds_init(struct bcm43xx_private *bcm); |