Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Inaky Perez-Gonzalez and committed by
Greg Kroah-Hartman
143ee2d5 514ec71f

+103
+2
drivers/net/Kconfig
··· 2614 2614 2615 2615 source "drivers/net/wireless/Kconfig" 2616 2616 2617 + source "drivers/net/wimax/Kconfig" 2618 + 2617 2619 source "drivers/net/usb/Kconfig" 2618 2620 2619 2621 source "drivers/net/pcmcia/Kconfig"
+1
drivers/net/Makefile
··· 263 263 obj-$(CONFIG_VIRTIO_NET) += virtio_net.o 264 264 obj-$(CONFIG_SFC) += sfc/ 265 265 266 + obj-$(CONFIG_WIMAX) += wimax/
+17
drivers/net/wimax/Kconfig
··· 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
+5
drivers/net/wimax/Makefile
··· 1 + 2 + obj-$(CONFIG_WIMAX_I2400M) += i2400m/ 3 + 4 + # (from Sam Ravnborg) force kbuild to create built-in.o 5 + obj- := dummy.o
+49
drivers/net/wimax/i2400m/Kconfig
··· 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.
+29
drivers/net/wimax/i2400m/Makefile
··· 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