diff options
author | Inaky Perez-Gonzalez <inaky@linux.intel.com> | 2008-12-23 19:18:48 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2009-01-07 13:00:22 -0500 |
commit | 143ee2d5557c0598a97f3089eb29e8226e0e8cee (patch) | |
tree | 94e5e4a532a9d48a252e448a4b7be76b80899f10 | |
parent | 514ec71f7289c942f801bdbd309428c470bfc071 (diff) |
i2400m: Makefile and Kconfig
Integrate the i2400m driver into the kernel's build and Kconfig.
Signed-off-by: Inaky Perez-Gonzalez <inaky@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
-rw-r--r-- | drivers/net/Kconfig | 2 | ||||
-rw-r--r-- | drivers/net/Makefile | 1 | ||||
-rw-r--r-- | drivers/net/wimax/Kconfig | 17 | ||||
-rw-r--r-- | drivers/net/wimax/Makefile | 5 | ||||
-rw-r--r-- | drivers/net/wimax/i2400m/Kconfig | 49 | ||||
-rw-r--r-- | drivers/net/wimax/i2400m/Makefile | 29 |
6 files changed, 103 insertions, 0 deletions
diff --git a/drivers/net/Kconfig b/drivers/net/Kconfig index 9a18270c1081..97ea7c60e002 100644 --- a/drivers/net/Kconfig +++ b/drivers/net/Kconfig | |||
@@ -2614,6 +2614,8 @@ source "drivers/net/tokenring/Kconfig" | |||
2614 | 2614 | ||
2615 | source "drivers/net/wireless/Kconfig" | 2615 | source "drivers/net/wireless/Kconfig" |
2616 | 2616 | ||
2617 | source "drivers/net/wimax/Kconfig" | ||
2618 | |||
2617 | source "drivers/net/usb/Kconfig" | 2619 | source "drivers/net/usb/Kconfig" |
2618 | 2620 | ||
2619 | source "drivers/net/pcmcia/Kconfig" | 2621 | source "drivers/net/pcmcia/Kconfig" |
diff --git a/drivers/net/Makefile b/drivers/net/Makefile index e5c34b464211..a3c5c002f224 100644 --- a/drivers/net/Makefile +++ b/drivers/net/Makefile | |||
@@ -263,3 +263,4 @@ obj-$(CONFIG_NIU) += niu.o | |||
263 | obj-$(CONFIG_VIRTIO_NET) += virtio_net.o | 263 | obj-$(CONFIG_VIRTIO_NET) += virtio_net.o |
264 | obj-$(CONFIG_SFC) += sfc/ | 264 | obj-$(CONFIG_SFC) += sfc/ |
265 | 265 | ||
266 | obj-$(CONFIG_WIMAX) += wimax/ | ||
diff --git a/drivers/net/wimax/Kconfig b/drivers/net/wimax/Kconfig new file mode 100644 index 000000000000..565018ec1e3b --- /dev/null +++ b/drivers/net/wimax/Kconfig | |||
@@ -0,0 +1,17 @@ | |||
1 | # | ||
2 | # WiMAX LAN device drivers configuration | ||
3 | # | ||
4 | |||
5 | |||
6 | comment "Enable WiMAX (Networking options) to see the WiMAX drivers" | ||
7 | depends on WIMAX = n | ||
8 | |||
9 | if WIMAX | ||
10 | |||
11 | menu "WiMAX Wireless Broadband devices" | ||
12 | |||
13 | source "drivers/net/wimax/i2400m/Kconfig" | ||
14 | |||
15 | endmenu | ||
16 | |||
17 | endif | ||
diff --git a/drivers/net/wimax/Makefile b/drivers/net/wimax/Makefile new file mode 100644 index 000000000000..992bc02bc016 --- /dev/null +++ b/drivers/net/wimax/Makefile | |||
@@ -0,0 +1,5 @@ | |||
1 | |||
2 | obj-$(CONFIG_WIMAX_I2400M) += i2400m/ | ||
3 | |||
4 | # (from Sam Ravnborg) force kbuild to create built-in.o | ||
5 | obj- := dummy.o | ||
diff --git a/drivers/net/wimax/i2400m/Kconfig b/drivers/net/wimax/i2400m/Kconfig new file mode 100644 index 000000000000..d623b3d99a4b --- /dev/null +++ b/drivers/net/wimax/i2400m/Kconfig | |||
@@ -0,0 +1,49 @@ | |||
1 | |||
2 | config WIMAX_I2400M | ||
3 | tristate | ||
4 | depends on WIMAX | ||
5 | select FW_LOADER | ||
6 | |||
7 | comment "Enable USB support to see WiMAX USB drivers" | ||
8 | depends on USB = n | ||
9 | |||
10 | comment "Enable MMC support to see WiMAX SDIO drivers" | ||
11 | depends on MMC = n | ||
12 | |||
13 | config WIMAX_I2400M_USB | ||
14 | tristate "Intel Wireless WiMAX Connection 2400 over USB (including 5x50)" | ||
15 | depends on WIMAX && USB | ||
16 | select WIMAX_I2400M | ||
17 | help | ||
18 | Select if you have a device based on the Intel WiMAX | ||
19 | Connection 2400 over USB (like any of the Intel Wireless | ||
20 | WiMAX/WiFi Link 5x50 series). | ||
21 | |||
22 | If unsure, it is safe to select M (module). | ||
23 | |||
24 | config WIMAX_I2400M_SDIO | ||
25 | tristate "Intel Wireless WiMAX Connection 2400 over SDIO" | ||
26 | depends on WIMAX && MMC | ||
27 | select WIMAX_I2400M | ||
28 | help | ||
29 | Select if you have a device based on the Intel WiMAX | ||
30 | Connection 2400 over SDIO. | ||
31 | |||
32 | If unsure, it is safe to select M (module). | ||
33 | |||
34 | config WIMAX_I2400M_DEBUG_LEVEL | ||
35 | int "WiMAX i2400m debug level" | ||
36 | depends on WIMAX_I2400M | ||
37 | default 8 | ||
38 | help | ||
39 | |||
40 | Select the maximum debug verbosity level to be compiled into | ||
41 | the WiMAX i2400m driver code. | ||
42 | |||
43 | By default, this is disabled at runtime and can be | ||
44 | selectively enabled at runtime for different parts of the | ||
45 | code using the sysfs debug-levels file. | ||
46 | |||
47 | If set at zero, this will compile out all the debug code. | ||
48 | |||
49 | It is recommended that it is left at 8. | ||
diff --git a/drivers/net/wimax/i2400m/Makefile b/drivers/net/wimax/i2400m/Makefile new file mode 100644 index 000000000000..1696e936cf5a --- /dev/null +++ b/drivers/net/wimax/i2400m/Makefile | |||
@@ -0,0 +1,29 @@ | |||
1 | |||
2 | obj-$(CONFIG_WIMAX_I2400M) += i2400m.o | ||
3 | obj-$(CONFIG_WIMAX_I2400M_USB) += i2400m-usb.o | ||
4 | obj-$(CONFIG_WIMAX_I2400M_SDIO) += i2400m-sdio.o | ||
5 | |||
6 | i2400m-y := \ | ||
7 | control.o \ | ||
8 | driver.o \ | ||
9 | fw.o \ | ||
10 | op-rfkill.o \ | ||
11 | netdev.o \ | ||
12 | tx.o \ | ||
13 | rx.o | ||
14 | |||
15 | i2400m-$(CONFIG_DEBUG_FS) += debugfs.o | ||
16 | |||
17 | i2400m-usb-y := \ | ||
18 | usb-fw.o \ | ||
19 | usb-notif.o \ | ||
20 | usb-tx.o \ | ||
21 | usb-rx.o \ | ||
22 | usb.o | ||
23 | |||
24 | |||
25 | i2400m-sdio-y := \ | ||
26 | sdio.o \ | ||
27 | sdio-tx.o \ | ||
28 | sdio-fw.o \ | ||
29 | sdio-rx.o | ||