atheros/ath9k: add common read/write ops and port ath9k to use it
authorLuis R. Rodriguez <lrodriguez@atheros.com>
Thu, 10 Sep 2009 23:11:21 +0000 (16:11 -0700)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 7 Oct 2009 20:39:27 +0000 (16:39 -0400)
commit9e4bffd233f27fe83fc48efb01935aee7d0685bf
tree9c7444e68bda2774284dcff2eddacbdef8890932
parent867633f026456ff71d4c4890f502c7a61b2adac0
atheros/ath9k: add common read/write ops and port ath9k to use it

In an effort to make hw code driver core agnostic read
and write operations are defined on the ath_common structure.
This patch adds that and makes ath9k use it. This allows
drivers like ath9k_htc to define its own read/write ops and
still rely on the same hw code. This also paves the way for
sharing code between ath9k/ath5k/ath9k_htc.

Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath.h
drivers/net/wireless/ath/ath9k/ath9k.h
drivers/net/wireless/ath/ath9k/hw.c
drivers/net/wireless/ath/ath9k/hw.h
drivers/net/wireless/ath/ath9k/main.c