Skip to content

Commit

Permalink
atheros: introduce ath module containing common ath5k/ath9k/ar9170 code
Browse files Browse the repository at this point in the history
This change creates a new module, ath.ko, which includes code that can
be shared between ath5k, ath9k and ar9170. For now, extract most of the ath9k
regulatory code so it can also be used in ath5k.

Signed-off-by: Bob Copeland <me@bobcopeland.com>
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
  • Loading branch information
Bob Copeland authored and John W. Linville committed Apr 22, 2009
1 parent c02cf37 commit 3a702e4
Show file tree
Hide file tree
Showing 13 changed files with 155 additions and 111 deletions.
1 change: 1 addition & 0 deletions drivers/net/wireless/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -483,6 +483,7 @@ config MWL8K
will be called mwl8k. If unsure, say N.

source "drivers/net/wireless/p54/Kconfig"
source "drivers/net/wireless/ath/Kconfig"
source "drivers/net/wireless/ath5k/Kconfig"
source "drivers/net/wireless/ath9k/Kconfig"
source "drivers/net/wireless/ar9170/Kconfig"
Expand Down
1 change: 1 addition & 0 deletions drivers/net/wireless/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ obj-$(CONFIG_RT2X00) += rt2x00/

obj-$(CONFIG_P54_COMMON) += p54/

obj-$(CONFIG_ATH_COMMON) += ath/
obj-$(CONFIG_ATH5K) += ath5k/
obj-$(CONFIG_ATH9K) += ath9k/
obj-$(CONFIG_AR9170_USB) += ar9170/
Expand Down
4 changes: 4 additions & 0 deletions drivers/net/wireless/ath/Kconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
config ATH_COMMON
tristate "Atheros Wireless Cards Shared Support"
depends on ATH5K || ATH9K

3 changes: 3 additions & 0 deletions drivers/net/wireless/ath/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
obj-$(CONFIG_ATH_COMMON) += ath.o
ath-objs := regd.o

Loading

0 comments on commit 3a702e4

Please sign in to comment.