aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Lin <dlin@marvell.com>2016-06-02 09:23:03 +0800
committerDavid Lin <dlin@marvell.com>2016-06-02 09:23:03 +0800
commitca554376126c8665221babf7b7fb2d27872cd1db (patch)
tree047f2ed05c4ed47cade7c1fb528c431139b39df7
parent3bec7c33742a16c4086e664f6dc7cd85fb364914 (diff)
Restored files Kconfig and Makefile.kernel.
Signed-off-by: David Lin <dlin@marvell.com>
-rw-r--r--Kconfig23
-rw-r--r--Makefile.kernel13
2 files changed, 36 insertions, 0 deletions
diff --git a/Kconfig b/Kconfig
new file mode 100644
index 0000000..a9bcb9c
--- /dev/null
+++ b/Kconfig
@@ -0,0 +1,23 @@
+config MWLWIFI
+ tristate "Marvell Avastar 88W8864/88W8897 PCIe driver (mac80211 compatible)"
+ depends on PCI && MAC80211
+ select FW_LOADER
+ ---help---
+ Select to build the driver supporting the:
+
+ Marvell Wireless Wi-Fi 88W8864 modules
+ Marvell Wireless Wi-Fi 88W8897 modules
+
+ This driver uses the kernel's mac80211 subsystem.
+
+ If you want to compile the driver as a module (= code which can be
+ inserted in and removed from the running kernel whenever you want),
+ say M here and read <file:Documentation/kbuild/modules.txt>. The
+ module will be called mwlwifi.
+
+ NOTE: Selecting this driver may cause conflict with MWIFIEX driver
+ that also operates on the same part number 88W8897. Users should
+ select either MWIFIEX or MWLWIFI, not both. MWIFIEX is fullmac,
+ supporting more comprehensive client functions for laptops/embedded
+ devices. MWLWIFI is mac80211-based for full AP/Wireless Bridge.
+
diff --git a/Makefile.kernel b/Makefile.kernel
new file mode 100644
index 0000000..37af74f
--- /dev/null
+++ b/Makefile.kernel
@@ -0,0 +1,13 @@
+obj-$(CONFIG_MWLWIFI) += mwlwifi.o
+
+mwlwifi-objs += main.o
+mwlwifi-objs += mac80211.o
+mwlwifi-objs += fwdl.o
+mwlwifi-objs += fwcmd.o
+mwlwifi-objs += tx.o
+mwlwifi-objs += rx.o
+mwlwifi-objs += isr.o
+mwlwifi-$(CONFIG_THERMAL) += thermal.o
+mwlwifi-$(CONFIG_DEBUG_FS) += debugfs.o
+
+ccflags-y += -D__CHECK_ENDIAN__