diff options
author | Gabor Juhos <juhosg@openwrt.org> | 2013-08-22 20:53:21 +0200 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2013-08-26 14:09:01 -0400 |
commit | 21c6af6b69b609b7934caaccda1b4535dceb402c (patch) | |
tree | bd66f3e66a86478d2940c205196d424139cd56d9 /fs/direct-io.c | |
parent | 20c7d42a5005938ea6734ee0463f2031d843878f (diff) |
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 <juhosg@openwrt.org>
Acked-by: Helmut Schaa <helmut.schaa@googlemail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'fs/direct-io.c')
0 files changed, 0 insertions, 0 deletions