Skip to contentSkip to conversation

b43legacy: report core number

PATCH New Pavel Roskin 3 participants 7 messages Jul 26, 2011 – Aug 3, 2011 Networking drivers (wireless)

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 b43legacy: report core number

---

 0 files changed, 0 insertions(+), 0 deletions(-)
drivers/net/wireless/b43legacy/main.c +2 -1
index ffa4671..224991a 100644
@@ -3785,7 +3785,8 @@ static int b43legacy_wireless_init(struct ssb_device *dev)
 	INIT_WORK(&wl->beacon_update_trigger, b43legacy_beacon_update_trigger_work);
 
 	ssb_set_devtypedata(dev, wl);
-	b43legacyinfo(wl, "Broadcom %04X WLAN found\n", dev->bus->chip_id);
+	b43legacyinfo(wl, "Broadcom %04X WLAN found (core revision %u)\n",
+		      dev->bus->chip_id, dev->id.revision);
 	err = 0;
 out:
 	return err;
#1 lore raw

PATCH 2/2 b43legacy: remove asm/atomic.h includes as suggested by checkpatch.pl

Including linux/atomic.h doesn't appear to be necessary.

---

 0 files changed, 0 insertions(+), 0 deletions(-)
drivers/net/wireless/b43legacy/b43legacy.h +0 -1
index 17a130d..71159aa 100644
@@ -8,7 +8,6 @@
 #include <linux/stringify.h>
 #include <linux/netdevice.h>
 #include <linux/pci.h>
-#include <asm/atomic.h>
 #include <linux/io.h>
 
 #include <linux/ssb/ssb.h>
drivers/net/wireless/b43legacy/dma.h +0 -1
index 04121ff..7ed84b9 100644
@@ -5,7 +5,6 @@
 #include <linux/spinlock.h>
 #include <linux/workqueue.h>
 #include <linux/linkage.h>
-#include <asm/atomic.h>
 
 #include "b43legacy.h"
 
#3 lore raw

PATCH 1/2 b43legacy: report core number

In reply to Pavel Roskin
Quoted 3 lines · Pavel Roskin

---

  0 files changed, 0 insertions(+), 0 deletions(-)

Very informative diffstat! :)

Quoted 6 lines
drivers/net/wireless/b43legacy/main.c +0 -0
index ffa4671..224991a 100644

drivers/net/wireless/b43legacy/main.c static int b43legacy_wireless_init(struct ssb_device *dev) · line 3792

Quoted 9 lines
drivers/net/wireless/b43legacy/main.c +2 -1
@@ -3785,7 +3785,8 @@ static int b43legacy_wireless_init(struct ssb_device *dev)
  	INIT_WORK(&wl->beacon_update_trigger, b43legacy_beacon_update_trigger_work);
 
  	ssb_set_devtypedata(dev, wl);
-	b43legacyinfo(wl, "Broadcom %04X WLAN found\n", dev->bus->chip_id);
+	b43legacyinfo(wl, "Broadcom %04X WLAN found (core revision %u)\n",
+		      dev->bus->chip_id, dev->id.revision);
  	err = 0;
  out:
  	return err;
#4 lore raw
Quoted 6 lines · Larry Finger
Quoted 3 lines · Pavel Roskin

---

0 files changed, 0 insertions(+), 0 deletions(-)

Very informative diffstat! :)

That happens if "stg mail" is run from a directory that is not above the changed files. I'll try to get it fixed.

Thanks for the quick review!

Signature · 2 lines
Regards,
Pavel Roskin
#5 lore raw

PATCH 1/2 b43legacy: report core number

Quoted 6 lines · Pavel Roskin
Quoted 3 lines
Quoted 1 line
0 files changed, 0 insertions(+), 0 deletions(-)

Very informative diffstat! :)

That happens if "stg mail" is run from a directory that is not above the changed files. I'll try to get it fixed.

Is stgit still alive? I haven't seen a release for a long time.

Signature · 1 line
Kalle Valo
#6 lore raw
Quoted 10 lines · Kalle Valo
Quoted 6 lines · Pavel Roskin
Quoted 3 lines
Quoted 1 line
0 files changed, 0 insertions(+), 0 deletions(-)

Very informative diffstat! :)

That happens if "stg mail" is run from a directory that is not above the changed files. I'll try to get it fixed.

Is stgit still alive? I haven't seen a release for a long time.

I hate to go too far offtopic, but anyway, StGIT is pretty much usable, even though it's not under active development anymore.

Signature · 2 lines
Regards,
Pavel Roskin