Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=01449c5a469c8c1c647cfd3705b1ff290be6afff
Commit:     01449c5a469c8c1c647cfd3705b1ff290be6afff
Parent:     fa46081c506ab518e8ea4095bc21b6d544006c00
Author:     Larry Finger <[EMAIL PROTECTED]>
AuthorDate: Sun Sep 16 17:26:49 2007 -0500
Committer:  David S. Miller <[EMAIL PROTECTED]>
CommitDate: Wed Oct 10 16:52:18 2007 -0700

    [BCM43XX]: Change radio hardware switch status printk from debug to regular
    
    Some distros ship bcm43xx with debugging printout disabled. For those
    BCM43xx devices with radio on/off switches, this makes it impossible
    to know if the radio is on or off. This patch changes a pair of debug
    printk's into ordinary printk's. It also changes the message that
    prints when the radio is initialized to the off state as the old message
    seems to confuse users.
    
    Signed-off-by: Larry Finger <[EMAIL PROTECTED]>
    Signed-off-by: John W. Linville <[EMAIL PROTECTED]>
    Signed-off-by: David S. Miller <[EMAIL PROTECTED]>
---
 drivers/net/wireless/bcm43xx/bcm43xx_main.c  |    4 ++--
 drivers/net/wireless/bcm43xx/bcm43xx_radio.c |    2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/drivers/net/wireless/bcm43xx/bcm43xx_main.c 
b/drivers/net/wireless/bcm43xx/bcm43xx_main.c
index e038d07..4568343 100644
--- a/drivers/net/wireless/bcm43xx/bcm43xx_main.c
+++ b/drivers/net/wireless/bcm43xx/bcm43xx_main.c
@@ -2380,7 +2380,7 @@ static int bcm43xx_chip_init(struct bcm43xx_private *bcm)
                goto err_gpio_cleanup;
        bcm43xx_radio_turn_on(bcm);
        bcm->radio_hw_enable = bcm43xx_is_hw_radio_enabled(bcm);
-       dprintk(KERN_INFO PFX "Radio %s by hardware\n",
+       printk(KERN_INFO PFX "Radio %s by hardware\n",
                (bcm->radio_hw_enable == 0) ? "disabled" : "enabled");
 
        bcm43xx_write16(bcm, 0x03E6, 0x0000);
@@ -3129,7 +3129,7 @@ static void bcm43xx_periodic_every1sec(struct 
bcm43xx_private *bcm)
        radio_hw_enable = bcm43xx_is_hw_radio_enabled(bcm);
        if (unlikely(bcm->radio_hw_enable != radio_hw_enable)) {
                bcm->radio_hw_enable = radio_hw_enable;
-               dprintk(KERN_INFO PFX "Radio hardware status changed to %s\n",
+               printk(KERN_INFO PFX "Radio hardware status changed to %s\n",
                       (radio_hw_enable == 0) ? "disabled" : "enabled");
                bcm43xx_leds_update(bcm, 0);
        }
diff --git a/drivers/net/wireless/bcm43xx/bcm43xx_radio.c 
b/drivers/net/wireless/bcm43xx/bcm43xx_radio.c
index 6a109f4..c605099 100644
--- a/drivers/net/wireless/bcm43xx/bcm43xx_radio.c
+++ b/drivers/net/wireless/bcm43xx/bcm43xx_radio.c
@@ -2146,7 +2146,7 @@ void bcm43xx_radio_turn_off(struct bcm43xx_private *bcm)
        } else
                bcm43xx_phy_write(bcm, 0x0015, 0xAA00);
        radio->enabled = 0;
-       dprintk(KERN_INFO PFX "Radio turned off\n");
+       dprintk(KERN_INFO PFX "Radio initialized\n");
        bcm43xx_leds_update(bcm, 0);
 }
 
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to