ath9k: Header file cleanup
PATCH 1/10 ath9k: Header file cleanup
Split the core header files into manageable pieces.
Signed-off-by Sujith <[email protected]>
--- drivers/net/wireless/ath9k/ahb.c | 4 +- drivers/net/wireless/ath9k/ani.c | 5 +- drivers/net/wireless/ath9k/ani.h | 111 +++ drivers/net/wireless/ath9k/ath9k.h | 1653 ++++++++++++++--------------------- drivers/net/wireless/ath9k/beacon.c | 2 +- drivers/net/wireless/ath9k/calib.c | 5 +- drivers/net/wireless/ath9k/calib.h | 124 +++ drivers/net/wireless/ath9k/core.h | 821 ----------------- drivers/net/wireless/ath9k/debug.c | 4 +- drivers/net/wireless/ath9k/debug.h | 153 ++++ drivers/net/wireless/ath9k/eeprom.c | 5 +- drivers/net/wireless/ath9k/eeprom.h | 484 ++++++++++ drivers/net/wireless/ath9k/hw.c | 5 +- drivers/net/wireless/ath9k/hw.h | 1377 +++++++++++------------------- drivers/net/wireless/ath9k/mac.c | 5 +- drivers/net/wireless/ath9k/mac.h | 676 ++++++++++++++ drivers/net/wireless/ath9k/main.c | 4 +- drivers/net/wireless/ath9k/pci.c | 4 +- drivers/net/wireless/ath9k/phy.c | 5 +- drivers/net/wireless/ath9k/rc.c | 2 +- drivers/net/wireless/ath9k/rc.h | 17 +- drivers/net/wireless/ath9k/recv.c | 2 +- drivers/net/wireless/ath9k/reg.h | 1 + drivers/net/wireless/ath9k/regd.c | 4 +- drivers/net/wireless/ath9k/regd.h | 12 +- drivers/net/wireless/ath9k/xmit.c | 2 +- 26 files changed, 2733 insertions(+), 2754 deletions(-) create mode 100644 drivers/net/wireless/ath9k/ani.h create mode 100644 drivers/net/wireless/ath9k/calib.h delete mode 100644 drivers/net/wireless/ath9k/core.h create mode 100644 drivers/net/wireless/ath9k/debug.h create mode 100644 drivers/net/wireless/ath9k/eeprom.h create mode 100644 drivers/net/wireless/ath9k/mac.h
drivers/net/wireless/ath9k/ahb.c +1 -3
@@ -19,9 +19,7 @@#include <linux/nl80211.h> #include <linux/platform_device.h> #include <linux/ath9k_platform.h> -#include "core.h" -#include "reg.h" -#include "hw.h" +#include "ath9k.h" /* return bus cachesize in 4B word units */ static void ath_ahb_read_cachesize (struct ath_softc *sc,int *csz)
drivers/net/wireless/ath9k/ani.c +1 -4
@@ -14,10 +14,7 @@* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ -#include "core.h" -#include "hw.h" -#include "reg.h" -#include "phy.h" +#include "ath9k.h" static int ath9k_hw_get_ani_channel_idx (struct ath_hal *ah,struct ath9k_channel *chan)
drivers/net/wireless/ath9k/ani.h new file +111 -0
111 lines not on this page · raw message
drivers/net/wireless/ath9k/ath9k.h +654 -999
1,682 lines not on this page · raw message
drivers/net/wireless/ath9k/beacon.c +1 -1
@@ -14,7 +14,7 @@* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ -#include "core.h" +#include "ath9k.h" /* * This function will modify certain transmit queue properties depending on
drivers/net/wireless/ath9k/calib.c +1 -4
@@ -14,10 +14,7 @@* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ -#include "core.h" -#include "hw.h" -#include "reg.h" -#include "phy.h" +#include "ath9k.h" /* We can tune this as we go by monitoring really low values */ #define ATH9K_NF_TOO_LOW -60
drivers/net/wireless/ath9k/calib.h new file +124 -0
124 lines not on this page · raw message
drivers/net/wireless/ath9k/core.h deleted +0 -821
821 lines not on this page · raw message
drivers/net/wireless/ath9k/debug.c +1 -3
@@ -14,9 +14,7 @@* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ -#include "core.h" -#include "reg.h" -#include "hw.h" +#include "ath9k.h" static unsigned int ath9k_debug =DBG_DEFAULT ;module_param_named (debug, ath9k_debug, uint,0 );
drivers/net/wireless/ath9k/debug.h new file +153 -0
153 lines not on this page · raw message
drivers/net/wireless/ath9k/eeprom.c +1 -4
@@ -14,10 +14,7 @@* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ -#include "core.h" -#include "hw.h" -#include "reg.h" -#include "phy.h" +#include "ath9k.h" static void ath9k_hw_analog_shift_rmw(struct ath_hal *ah, u32 reg, u32 mask,
drivers/net/wireless/ath9k/eeprom.h new file +484 -0
48 lines not on this page · raw message
drivers/net/wireless/ath9k/hw.h +490 -887
1,377 lines not on this page · raw message
drivers/net/wireless/ath9k/mac.h new file +676 -0
676 lines not on this page · raw message
The rest of this diff is not shown. View the raw message.
Signature · 1 line
1.6.1
Part of the diff is not shown here. View the raw message.