From 074a2021ba621b5826c97e1fed674b67222b3444 Mon Sep 17 00:00:00 2001 From: "Larry.Finger@lwfinger.net" Date: Fri, 13 Jun 2008 00:57:45 -0500 Subject: [PATCH] ssb-sprom: Fix for incorrect Subsystem and PCI Product IDs on rev 4 SPROMs In current ssb-sprom code, the Subsystem and Product ID's are wrong for rev 4 SPROM's. Signed-off-by: Larry Finger Signed-off-by: Michael Buesch --- ssb_sprom/ssb_sprom.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ssb_sprom/ssb_sprom.h b/ssb_sprom/ssb_sprom.h index 4b44e95..cfc603e 100644 --- a/ssb_sprom/ssb_sprom.h +++ b/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) -- 2.31.1