]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ssb: Look for SPROM at different offset on higher rev CC
authorRafał Miłecki <zajec5@gmail.com>
Wed, 31 Mar 2010 19:59:21 +0000 (21:59 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 10 Aug 2010 17:20:50 +0000 (10:20 -0700)
commit411538c80b64de89251bbaa51190f9b0de6de1bd
treef7fd0ab1c27fabed5a72e5250b888cf7d9eeb4fb
parentd94dcccffd327b2858b890b10aab8eabf2f31c62
ssb: Look for SPROM at different offset on higher rev CC

commit ea2db495f92ad2cf3301623e60cb95b4062bc484 upstream.

Our offset handling becomes even a little more hackish now. For some reason I
do not understand all offsets as inrelative. It assumes base offset is 0x1000
but it will work for now as we make offsets relative anyway by removing base
0x1000. Should be cleaner however.

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Cc: Larry Finger <Larry.Finger@lwfinger.net>
Cc: Ben Hutchings <ben@decadent.org.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/ssb/pci.c
include/linux/ssb/ssb.h
include/linux/ssb/ssb_regs.h