From: Gabor Juhos Date: Thu, 22 Aug 2013 18:53:21 +0000 (+0200) Subject: rt2x00: rt2800lib: add rt2800_hw_beacon_base helper X-Git-Tag: v3.12-rc1~132^2~84^2^2~29 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=21c6af6b69b609b7934caaccda1b4535dceb402c;p=pandora-kernel.git rt2x00: rt2800lib: add rt2800_hw_beacon_base helper The HW_BEACON_BASE() macro returns the base address of a given beacon, however the returned values are not usable on all chipsets. On devices which have selectable shared memory parts, some beacon may be located in the high part of the shared memory. Instead of extending the already complicated macro, add a new helper function and use that to get the base address of a given beacon. The actual patch contains no functional changes, the helper function will be extended in a further patch to handle different chipsets' requirements. Signed-off-by: Gabor Juhos Acked-by: Helmut Schaa Signed-off-by: John W. Linville --- Reading git-diff-tree failed