openwrt/target/linux/brcm47xx/patches-2.6.23/225-bcm5354_ssbrev.patch

21 lines
895 B
Diff

--- a/drivers/ssb/main.c 2007-11-05 05:59:43.000000000 -0800
+++ b/drivers/ssb/main.c 2007-11-05 08:59:13.000000000 -0800
@@ -882,6 +884,7 @@
case SSB_IDLOW_SSBREV_22:
return SSB_TMSLOW_REJECT_22;
case SSB_IDLOW_SSBREV_23:
+ case SSB_IDLOW_SSBREV_5354:
return SSB_TMSLOW_REJECT_23;
default:
WARN_ON(1);
--- a/include/linux/ssb/ssb_regs.h 2007-11-05 05:59:42.000000000 -0800
+++ b/include/linux/ssb/ssb_regs.h 2007-11-05 09:00:45.000000000 -0800
@@ -147,6 +147,7 @@
#define SSB_IDLOW_SSBREV 0xF0000000 /* Sonics Backplane Revision code */
#define SSB_IDLOW_SSBREV_22 0x00000000 /* <= 2.2 */
#define SSB_IDLOW_SSBREV_23 0x10000000 /* 2.3 */
+#define SSB_IDLOW_SSBREV_5354 0x60000000 /* 5354 */
#define SSB_IDHIGH 0x0FFC /* SB Identification High */
#define SSB_IDHIGH_RCLO 0x0000000F /* Revision Code (low part) */
#define SSB_IDHIGH_CC 0x00008FF0 /* Core Code */