Skip to contentSkip to conversation

ath9k: Fix ath_print in xmit for hardware reset.

PATCH RESEND In review Justin P. Mattock 2 participants 7 messages May 26, 2010 Qualcomm Atheros ATH9K wireless driver

lore
Share & tools
lore
#1 lore raw
In reply to Justin P. Mattock
Quoted 8 lines · Justin P. Mattock

ath_print in xmit.c should say "Reseting hardware" instead of Resetting HAL!(since HAL is being fazed out). dmesg shows:

[ 8660.899624] ath: Failed to stop TX DMA in 100 msec after killing last frame
[ 8660.899676] ath: Unable to stop TxDMA. Reset HAL!

For next time, no need for extra spaces between the SOB and the ---. And instead of RESEND do [PATCH v2]. Please read:

http://wireless.kernel.org/en/developers/Documentation/git-guide

Quoted 9 lines

---
 drivers/net/wireless/ath/ath9k/xmit.c |    2 +-

 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/net/wireless/ath/ath9k/xmit.c +0 -0
index 3db1917..09cb13c 100644

drivers/net/wireless/ath/ath9k/xmit.c void ath_drain_all_txq(struct ath_softc *sc, bool retry_tx) · line 1204

Quoted 8 lines
drivers/net/wireless/ath/ath9k/xmit.c +1 -1
@@ -1198,7 +1198,7 @@ void ath_drain_all_txq(struct ath_softc *sc, bool retry_tx)
                int r;
 
                ath_print(common, ATH_DBG_FATAL,
-                         "Unable to stop TxDMA. Reset HAL!\n");
+                         "Failed to stop TX DMA. Resetting hardware!\n");
 
                spin_lock_bh(&sc->sc_resetlock);
                r = ath9k_hw_reset(ah, sc->sc_ah->curchan, false);

Thanks, this is good.

Luis

#0 lore raw

PATCH RESEND 1/1 ath9k: Fix ath_print in xmit for hardware reset.

ath_print in xmit.c should say "Reseting hardware" instead of Resetting HAL!(since HAL is being fazed out). dmesg shows:

[ 8660.899624] ath: Failed to stop TX DMA in 100 msec after killing last frame
[ 8660.899676] ath: Unable to stop TxDMA. Reset HAL!
---
 drivers/net/wireless/ath/ath9k/xmit.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/net/wireless/ath/ath9k/xmit.c +1 -1
index 3db1917..09cb13c 100644
@@ -1198,7 +1198,7 @@ void ath_drain_all_txq(struct ath_softc *sc, bool retry_tx)
 		int r;
 
 		ath_print(common, ATH_DBG_FATAL,
-			  "Unable to stop TxDMA. Reset HAL!\n");
+			  "Failed to stop TX DMA. Resetting hardware!\n");
 
 		spin_lock_bh(&sc->sc_resetlock);
 		r = ath9k_hw_reset(ah, sc->sc_ah->curchan, false);
Signature · 1 line
1.6.5.GIT
#2 lore raw
In reply to Luis R. Rodriguez
Quoted 9 lines · Luis R. Rodriguez
Quoted 6 lines · Justin P. Mattock

ath_print in xmit.c should say "Reseting hardware" instead of Resetting HAL!(since HAL is being fazed out). dmesg shows:

[ 8660.899624] ath: Failed to stop TX DMA in 100 msec after killing last frame
[ 8660.899676] ath: Unable to stop TxDMA. Reset HAL!
Quoted 9 lines
Quoted 3 lines

For next time, no need for extra spaces between the SOB and the ---. And instead of RESEND do [PATCH v2]. Please read:

http://wireless.kernel.org/en/developers/Documentation/git-guide

o.k.!!

Quoted 15 lines
Quoted 15 lines
---
  drivers/net/wireless/ath/ath9k/xmit.c |    2 +-
  1 files changed, 1 insertions(+), 1 deletions(-)
drivers/net/wireless/ath/ath9k/xmit.c +1 -1
index 3db1917..09cb13c 100644
@@ -1198,7 +1198,7 @@ void ath_drain_all_txq(struct ath_softc *sc, bool retry_tx)
                int r;
 
                ath_print(common, ATH_DBG_FATAL,
-                         "Unable to stop TxDMA. Reset HAL!\n");
+                         "Failed to stop TX DMA. Resetting hardware!\n");
 
Quoted 8 lines

drivers/net/wireless/ath/ath9k/xmit.c void ath_drain_all_txq(struct ath_softc *sc, bool retry_tx) · line 1204

Quoted 3 lines
drivers/net/wireless/ath/ath9k/xmit.c +0 -0
                spin_lock_bh(&sc->sc_resetlock);
                r = ath9k_hw_reset(ah, sc->sc_ah->curchan, false);

Thanks, this is good.

Luis

what about all the signed-off's? should I
resend with all of those, or no?

Justin P. Mattock

#3 lore raw
Quoted 50 lines · Justin P. Mattock
Quoted 12 lines · Luis R. Rodriguez
Quoted 8 lines · Justin P. Mattock

ath_print in xmit.c should say "Reseting hardware" instead of Resetting HAL!(since HAL is being fazed out). dmesg shows:

[ 8660.899624] ath: Failed to stop TX DMA in 100 msec after killing last
frame
[ 8660.899676] ath: Unable to stop TxDMA. Reset HAL!
Quoted 10 lines
Quoted 3 lines

For next time, no need for extra spaces between the SOB and the ---. And instead of RESEND do [PATCH v2]. Please read:

http://wireless.kernel.org/en/developers/Documentation/git-guide

o.k.!!

Quoted 25 lines
Quoted 19 lines

---
 drivers/net/wireless/ath/ath9k/xmit.c |    2 +-

 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/net/wireless/ath/ath9k/xmit.c +1 -1
index 3db1917..09cb13c 100644
@@ -1198,7 +1198,7 @@ void ath_drain_all_txq(struct ath_softc *sc, bool
 retry_tx)
                int r;
 
                ath_print(common, ATH_DBG_FATAL,
-                         "Unable to stop TxDMA. Reset HAL!\n");
+                         "Failed to stop TX DMA. Resetting
 hardware!\n");
 
Quoted 3 lines

               spin_lock_bh(&sc->sc_resetlock);
               r = ath9k_hw_reset(ah, sc->sc_ah->curchan, false);

Thanks, this is good.

Quoted 6 lines
Quoted 3 lines

  Luis

what about all the signed-off's? should I
resend with all of those, or no?

I do not get what you are asking.

Luis

#4 lore raw
Quoted 57 lines · Luis R. Rodriguez
Quoted 54 lines · Justin P. Mattock
Quoted 11 lines · Luis R. Rodriguez
Quoted 7 lines · Justin P. Mattock

ath_print in xmit.c should say "Reseting hardware" instead of Resetting HAL!(since HAL is being fazed out). dmesg shows:

[ 8660.899624] ath: Failed to stop TX DMA in 100 msec after killing last
frame
[ 8660.899676] ath: Unable to stop TxDMA. Reset HAL!
Quoted 11 lines
Quoted 4 lines

For next time, no need for extra spaces between the SOB and the ---. And instead of RESEND do [PATCH v2]. Please read:

http://wireless.kernel.org/en/developers/Documentation/git-guide

o.k.!!

Quoted 28 lines
Quoted 18 lines
---
  drivers/net/wireless/ath/ath9k/xmit.c |    2 +-
  1 files changed, 1 insertions(+), 1 deletions(-)
drivers/net/wireless/ath/ath9k/xmit.c +1 -1
index 3db1917..09cb13c 100644
@@ -1198,7 +1198,7 @@ void ath_drain_all_txq(struct ath_softc *sc, bool
 retry_tx)
                int r;
 
                ath_print(common, ATH_DBG_FATAL,
-                         "Unable to stop TxDMA. Reset HAL!\n");
+                         "Failed to stop TX DMA. Resetting
 hardware!\n");
 
Quoted 4 lines
                spin_lock_bh(&sc->sc_resetlock);
                r = ath9k_hw_reset(ah, sc->sc_ah->curchan, false);

Thanks, this is good.

Luis

Quoted 8 lines
Quoted 3 lines

what about all the signed-off's? should I
resend with all of those, or no?

I do not get what you are asking.

Luis

all the people that gave there 00.02$ on this to
make it all-good

Justin P. Mattock

#5 lore raw
Quoted 11 lines · Justin P. Mattock
Quoted 7 lines · Luis R. Rodriguez
Quoted 2 lines · Justin P. Mattock

what about all the signed-off's? should I
resend with all of those, or no?

I do not get what you are asking.

all the people that gave there 00.02$ on this to
make it all-good

Heh... no. SOBs are just for the authors of the code. The real purpose of SOB is explained on Documentation/SubmittingPatches, read "Developer's Certificate of Origin 1.1".

Luis

#6 lore raw
Quoted 15 lines · Luis R. Rodriguez
Quoted 12 lines · Justin P. Mattock
Quoted 10 lines · Luis R. Rodriguez
Quoted 3 lines · Justin P. Mattock

what about all the signed-off's? should I
resend with all of those, or no?

I do not get what you are asking.

Quoted 10 lines
Quoted 3 lines

all the people that gave there 00.02$ on this to
make it all-good

Heh... no. SOBs are just for the authors of the code. The real purpose of SOB is explained on Documentation/SubmittingPatches, read "Developer's Certificate of Origin 1.1".

Luis

I thought you were talking about
Son of a bit*h(was like what's this guy
talkin about man!!

I'll read up today!!

Justin P. Mattock