ssb-sprom: Fix for incorrect Subsystem and PCI Product IDs on rev 4 SPROMs
authorLarry.Finger@lwfinger.net <Larry.Finger@lwfinger.net>
Fri, 13 Jun 2008 05:57:45 +0000 (00:57 -0500)
committerMichael Buesch <mb@bu3sch.de>
Fri, 13 Jun 2008 15:14:29 +0000 (17:14 +0200)
In current ssb-sprom code, the Subsystem and Product ID's are wrong for rev 4
SPROM's.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: Michael Buesch <mb@bu3sch.de>
ssb_sprom/ssb_sprom.h

index 4b44e951f742274f749c641dda72bb9ee18e02d3..cfc603ed65320168a9dc10242bf3ee15a0c04395 100644 (file)
 
 /* 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)