[PATCH] ssb: Fix for incorrect Subsystem and PCI Product IDs on rev 4 SPROMs

2008-06-13 Thread Michael Buesch
From: [EMAIL PROTECTED]

In current ssb-sprom code, the Subsystem and Product ID's are wrong for rev 4
SPROM's.

Signed-off-by: Larry Finger [EMAIL PROTECTED]
Signed-off-by: Michael Buesch [EMAIL PROTECTED]
---

John, this is a bugfix for 2.6.26.


Index: ssb_sprom/ssb_sprom.h
===
--- ssb_sprom.orig/ssb_sprom.h
+++ ssb_sprom/ssb_sprom.h
@@ -33,10 +33,10 @@
 
 /* byte offsets */
 #define SPROM_SUBP (0x02 * 2)
-#define SPROM4_SUBP(0x00 * 2)
+#define SPROM4_SUBP(0x02 * 2)
 #define SPROM_SUBV (0x03 * 2)
 #define SPROM_PPID (0x04 * 2)
-#define SPROM4_PPID(0x02 * 2)
+#define SPROM4_PPID(0x04 * 2)
 #define SPROM_BFLHI(0x1C * 2)
 #define SPROM_IL0MACADDR   (0x24 * 2)
 #define SPROM_ET0MACADDR   (0x27 * 2)

-- 
Greetings Michael.
___
Bcm43xx-dev mailing list
Bcm43xx-dev@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/bcm43xx-dev


Re: [PATCH] ssb: Fix for incorrect Subsystem and PCI Product IDs on rev 4 SPROMs

2008-06-13 Thread Larry Finger
Michael Buesch wrote:
 From: [EMAIL PROTECTED]
 
 In current ssb-sprom code, the Subsystem and Product ID's are wrong for rev 4
 SPROM's.
 
 Signed-off-by: Larry Finger [EMAIL PROTECTED]
 Signed-off-by: Michael Buesch [EMAIL PROTECTED]
 ---
 
 John, this is a bugfix for 2.6.26.
 
 
 Index: ssb_sprom/ssb_sprom.h
 ===
 --- ssb_sprom.orig/ssb_sprom.h
 +++ ssb_sprom/ssb_sprom.h
 @@ -33,10 +33,10 @@
  
  /* byte offsets */
  #define SPROM_SUBP   (0x02 * 2)
 -#define SPROM4_SUBP  (0x00 * 2)
 +#define SPROM4_SUBP  (0x02 * 2)
  #define SPROM_SUBV   (0x03 * 2)
  #define SPROM_PPID   (0x04 * 2)
 -#define SPROM4_PPID  (0x02 * 2)
 +#define SPROM4_PPID  (0x04 * 2)
  #define SPROM_BFLHI  (0x1C * 2)
  #define SPROM_IL0MACADDR (0x24 * 2)
  #define SPROM_ET0MACADDR (0x27 * 2)
 

The patch is for ssb-sprom, not ssb. If I still have any of my feeble 
mind left, ssb-sprom has not become part of the kernel. John, you can 
ignore this patch.

Larry



___
Bcm43xx-dev mailing list
Bcm43xx-dev@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/bcm43xx-dev


Re: [PATCH] ssb: Fix for incorrect Subsystem and PCI Product IDs on rev 4 SPROMs

2008-06-13 Thread Michael Buesch
On Friday 13 June 2008 10:47:33 Michael Buesch wrote:
 From: [EMAIL PROTECTED]
 
 In current ssb-sprom code, the Subsystem and Product ID's are wrong for rev 4
 SPROM's.
 
 Signed-off-by: Larry Finger [EMAIL PROTECTED]
 Signed-off-by: Michael Buesch [EMAIL PROTECTED]
 ---
 
 John, this is a bugfix for 2.6.26.
 
 
 Index: ssb_sprom/ssb_sprom.h
 ===
 --- ssb_sprom.orig/ssb_sprom.h
 +++ ssb_sprom/ssb_sprom.h

Oh, this changes the ssb userland tool. So I better apply it instead
of sending it to random unrelated people :P

 @@ -33,10 +33,10 @@
  
  /* byte offsets */
  #define SPROM_SUBP   (0x02 * 2)
 -#define SPROM4_SUBP  (0x00 * 2)
 +#define SPROM4_SUBP  (0x02 * 2)
  #define SPROM_SUBV   (0x03 * 2)
  #define SPROM_PPID   (0x04 * 2)
 -#define SPROM4_PPID  (0x02 * 2)
 +#define SPROM4_PPID  (0x04 * 2)
  #define SPROM_BFLHI  (0x1C * 2)
  #define SPROM_IL0MACADDR (0x24 * 2)
  #define SPROM_ET0MACADDR (0x27 * 2)
 



-- 
Greetings Michael.
___
Bcm43xx-dev mailing list
Bcm43xx-dev@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/bcm43xx-dev