Skip to contentSkip to conversation

ath9k: Header file cleanup

PATCH In review Sujith 1 participant 1 message Feb 9, 2009 Networking drivers (wireless)

lore
Share & tools
lore

Sujith

author
#0 lore raw

PATCH 1/10 ath9k: Header file cleanup

Split the core header files into manageable pieces.

---
 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
index 7f2c3a0..361ace1 100644
@@ -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
index 42197ff..d75bd6e 100644
@@ -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
index 61d37be..1f92ad7 100644
@@ -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
index 69ff01c..016302c 100644
@@ -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
index 2de1b8a..c9b47b3 100644
@@ -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
index 5038907..aa62409 100644
@@ -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.c +1 -4
index 00ed44a..075ddc5 100644

Lines of this file are not shown. View the raw message.

drivers/net/wireless/ath9k/hw.h +490 -887

1,377 lines not on this page · raw message

drivers/net/wireless/ath9k/mac.c +1 -4
index 2427c44..b375a29 100644

Lines of this file are not shown. View the raw message.

drivers/net/wireless/ath9k/mac.h new file +676 -0

676 lines not on this page · raw message

drivers/net/wireless/ath9k/main.c +1 -3
index 4095fec..2ed0bd2 100644

Lines of this file are not shown. View the raw message.

drivers/net/wireless/ath9k/pci.c +1 -3
index 05612bf..aa3ac20 100644

Lines of this file are not shown. View the raw message.

drivers/net/wireless/ath9k/phy.c +1 -4
index 766982a..ea29941 100644

Lines of this file are not shown. View the raw message.

drivers/net/wireless/ath9k/rc.c +1 -1
index 69a4ca4..060a7cf 100644

Lines of this file are not shown. View the raw message.

drivers/net/wireless/ath9k/rc.h +15 -2
index a987cb9..d688ec5 100644

Lines of this file are not shown. View the raw message.

drivers/net/wireless/ath9k/recv.c +1 -1
index 630fa57..69dd5e2 100644

Lines of this file are not shown. View the raw message.

drivers/net/wireless/ath9k/reg.h +1 -0
index c967b79..45b9fbf 100644

Lines of this file are not shown. View the raw message.

drivers/net/wireless/ath9k/regd.c +1 -3
index fe08a4f..819feb9 100644

Lines of this file are not shown. View the raw message.

drivers/net/wireless/ath9k/regd.h +10 -2
index ba2d2df..d1c4457 100644

Lines of this file are not shown. View the raw message.

drivers/net/wireless/ath9k/xmit.c +1 -1
index d5f15e7..7a3ea92 100644

Lines of this file are not shown. View the 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.