]> git.openfabrics.org - ~emulex/infiniband.git/commitdiff
ssb: cc: add & fix defines
authorRafał Miłecki <zajec5@gmail.com>
Wed, 20 Apr 2011 09:12:30 +0000 (11:12 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 25 Apr 2011 18:50:15 +0000 (14:50 -0400)
We probably got false positive results for checking PLL being down.

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
include/linux/ssb/ssb_driver_chipcommon.h

index 2cdf249b4e5f0627980e4140bf96170cb8546ad0..4f2d77a0c021ea21df709946391572a84bb422a6 100644 (file)
 #define SSB_CHIPCO_GPIOIRQ             0x0074
 #define SSB_CHIPCO_WATCHDOG            0x0080
 #define SSB_CHIPCO_GPIOTIMER           0x0088          /* LED powersave (corerev >= 16) */
+#define  SSB_CHIPCO_GPIOTIMER_OFFTIME  0x0000FFFF
+#define  SSB_CHIPCO_GPIOTIMER_OFFTIME_SHIFT    0
+#define  SSB_CHIPCO_GPIOTIMER_ONTIME   0xFFFF0000
 #define  SSB_CHIPCO_GPIOTIMER_ONTIME_SHIFT     16
 #define SSB_CHIPCO_GPIOTOUTM           0x008C          /* LED powersave (corerev >= 16) */
 #define SSB_CHIPCO_CLOCK_N             0x0090
 #define  SSB_CHIPCO_CLKCTLST_HAVEALPREQ        0x00000008 /* ALP available request */
 #define  SSB_CHIPCO_CLKCTLST_HAVEHTREQ 0x00000010 /* HT available request */
 #define  SSB_CHIPCO_CLKCTLST_HWCROFF   0x00000020 /* Force HW clock request off */
-#define  SSB_CHIPCO_CLKCTLST_HAVEHT    0x00010000 /* HT available */
-#define  SSB_CHIPCO_CLKCTLST_HAVEALP   0x00020000 /* APL available */
+#define  SSB_CHIPCO_CLKCTLST_HAVEALP   0x00010000 /* ALP available */
+#define  SSB_CHIPCO_CLKCTLST_HAVEHT    0x00020000 /* HT available */
+#define  SSB_CHIPCO_CLKCTLST_4328A0_HAVEHT     0x00010000 /* 4328a0 has reversed bits */
+#define  SSB_CHIPCO_CLKCTLST_4328A0_HAVEALP    0x00020000 /* 4328a0 has reversed bits */
 #define SSB_CHIPCO_HW_WORKAROUND       0x01E4 /* Hardware workaround (rev >= 20) */
 #define SSB_CHIPCO_UART0_DATA          0x0300
 #define SSB_CHIPCO_UART0_IMR           0x0304