[arch-commits] Commit in kernel26-lts/trunk (BCM43XX.patch)

andyrtr at archlinux.org andyrtr at archlinux.org
Thu Aug 5 04:04:51 UTC 2010


    Date: Thursday, August 5, 2010 @ 00:04:50
  Author: andyrtr
Revision: 86820

add BCM43XX.patch

Added:
  kernel26-lts/trunk/BCM43XX.patch

---------------+
 BCM43XX.patch |   18 ++++++++++++++++++
 1 file changed, 18 insertions(+)

Added: BCM43XX.patch
===================================================================
--- BCM43XX.patch	                        (rev 0)
+++ BCM43XX.patch	2010-08-05 04:04:50 UTC (rev 86820)
@@ -0,0 +1,18 @@
+2.6.34.2: ssb: Fix error is SPROM offsets
+
+Signed-off-by: Larry Finger <Larry.Finger at lwfinger.net>
+
+Index: linux-2.6.34.y/drivers/ssb/pci.c
+===================================================================
+--- linux-2.6.34.y.orig/drivers/ssb/pci.c
++++ linux-2.6.34.y/drivers/ssb/pci.c
+@@ -169,7 +169,7 @@ err_pci:
+ }
+ 
+ /* Get the word-offset for a SSB_SPROM_XXX define. */
+-#define SPOFF(offset)	((offset) / sizeof(u16))
++#define SPOFF(offset)	(((offset) - SSB_SPROM_BASE1) / sizeof(u16))
+ /* Helper to extract some _offset, which is one of the SSB_SPROM_XXX defines. */
+ #define SPEX16(_outvar, _offset, _mask, _shift)	\
+ 	out->_outvar = ((in[SPOFF(_offset)] & (_mask)) >> (_shift))
+




More information about the arch-commits mailing list