]> git.karo-electronics.de Git - mv-sheeva.git/commitdiff
rtl8192e: Split into two directories
authorSean MacLennan <seanm@seanm.ca>
Tue, 29 Nov 2011 01:22:26 +0000 (20:22 -0500)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 30 Nov 2011 10:50:42 +0000 (19:50 +0900)
Now that the rtl8192e driver is split up, it makes sense to keep the
rtllib code in one directory and the rtl8192e specific code in
another. This patch contains the split and the fixup of includes.

Since rtl_core.h already included rtllib.h and dot11d.h, rtl_core.h
was updated to point to the parent directory. All other references to
rtllib.h and dot11d.h in the rtl8192e specific code where deleted
rather than fixed. This leaves just one file that needs to know the
real location of the rtllib includes.

Signed-off-by: Sean MacLennan <seanm@seanm.ca>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
39 files changed:
drivers/staging/rtl8192e/Kconfig
drivers/staging/rtl8192e/Makefile
drivers/staging/rtl8192e/rtl8192e/Kconfig [new file with mode: 0644]
drivers/staging/rtl8192e/rtl8192e/Makefile [new file with mode: 0644]
drivers/staging/rtl8192e/rtl8192e/r8190P_def.h [moved from drivers/staging/rtl8192e/r8190P_def.h with 100% similarity]
drivers/staging/rtl8192e/rtl8192e/r8190P_rtl8256.c [moved from drivers/staging/rtl8192e/r8190P_rtl8256.c with 100% similarity]
drivers/staging/rtl8192e/rtl8192e/r8190P_rtl8256.h [moved from drivers/staging/rtl8192e/r8190P_rtl8256.h with 100% similarity]
drivers/staging/rtl8192e/rtl8192e/r8192E_cmdpkt.c [moved from drivers/staging/rtl8192e/r8192E_cmdpkt.c with 100% similarity]
drivers/staging/rtl8192e/rtl8192e/r8192E_cmdpkt.h [moved from drivers/staging/rtl8192e/r8192E_cmdpkt.h with 100% similarity]
drivers/staging/rtl8192e/rtl8192e/r8192E_dev.c [moved from drivers/staging/rtl8192e/r8192E_dev.c with 100% similarity]
drivers/staging/rtl8192e/rtl8192e/r8192E_dev.h [moved from drivers/staging/rtl8192e/r8192E_dev.h with 100% similarity]
drivers/staging/rtl8192e/rtl8192e/r8192E_firmware.c [moved from drivers/staging/rtl8192e/r8192E_firmware.c with 100% similarity]
drivers/staging/rtl8192e/rtl8192e/r8192E_firmware.h [moved from drivers/staging/rtl8192e/r8192E_firmware.h with 100% similarity]
drivers/staging/rtl8192e/rtl8192e/r8192E_hw.h [moved from drivers/staging/rtl8192e/r8192E_hw.h with 100% similarity]
drivers/staging/rtl8192e/rtl8192e/r8192E_hwimg.c [moved from drivers/staging/rtl8192e/r8192E_hwimg.c with 100% similarity]
drivers/staging/rtl8192e/rtl8192e/r8192E_hwimg.h [moved from drivers/staging/rtl8192e/r8192E_hwimg.h with 100% similarity]
drivers/staging/rtl8192e/rtl8192e/r8192E_phy.c [moved from drivers/staging/rtl8192e/r8192E_phy.c with 99% similarity]
drivers/staging/rtl8192e/rtl8192e/r8192E_phy.h [moved from drivers/staging/rtl8192e/r8192E_phy.h with 100% similarity]
drivers/staging/rtl8192e/rtl8192e/r8192E_phyreg.h [moved from drivers/staging/rtl8192e/r8192E_phyreg.h with 100% similarity]
drivers/staging/rtl8192e/rtl8192e/r819xE_phyreg.h [moved from drivers/staging/rtl8192e/r819xE_phyreg.h with 100% similarity]
drivers/staging/rtl8192e/rtl8192e/rtl_cam.c [moved from drivers/staging/rtl8192e/rtl_cam.c with 100% similarity]
drivers/staging/rtl8192e/rtl8192e/rtl_cam.h [moved from drivers/staging/rtl8192e/rtl_cam.h with 100% similarity]
drivers/staging/rtl8192e/rtl8192e/rtl_core.c [moved from drivers/staging/rtl8192e/rtl_core.c with 100% similarity]
drivers/staging/rtl8192e/rtl8192e/rtl_core.h [moved from drivers/staging/rtl8192e/rtl_core.h with 99% similarity]
drivers/staging/rtl8192e/rtl8192e/rtl_crypto.h [moved from drivers/staging/rtl8192e/rtl_crypto.h with 100% similarity]
drivers/staging/rtl8192e/rtl8192e/rtl_debug.c [moved from drivers/staging/rtl8192e/rtl_debug.c with 100% similarity]
drivers/staging/rtl8192e/rtl8192e/rtl_dm.c [moved from drivers/staging/rtl8192e/rtl_dm.c with 100% similarity]
drivers/staging/rtl8192e/rtl8192e/rtl_dm.h [moved from drivers/staging/rtl8192e/rtl_dm.h with 100% similarity]
drivers/staging/rtl8192e/rtl8192e/rtl_eeprom.c [moved from drivers/staging/rtl8192e/rtl_eeprom.c with 100% similarity]
drivers/staging/rtl8192e/rtl8192e/rtl_eeprom.h [moved from drivers/staging/rtl8192e/rtl_eeprom.h with 100% similarity]
drivers/staging/rtl8192e/rtl8192e/rtl_ethtool.c [moved from drivers/staging/rtl8192e/rtl_ethtool.c with 100% similarity]
drivers/staging/rtl8192e/rtl8192e/rtl_pci.c [moved from drivers/staging/rtl8192e/rtl_pci.c with 100% similarity]
drivers/staging/rtl8192e/rtl8192e/rtl_pci.h [moved from drivers/staging/rtl8192e/rtl_pci.h with 100% similarity]
drivers/staging/rtl8192e/rtl8192e/rtl_pm.c [moved from drivers/staging/rtl8192e/rtl_pm.c with 100% similarity]
drivers/staging/rtl8192e/rtl8192e/rtl_pm.h [moved from drivers/staging/rtl8192e/rtl_pm.h with 100% similarity]
drivers/staging/rtl8192e/rtl8192e/rtl_ps.c [moved from drivers/staging/rtl8192e/rtl_ps.c with 100% similarity]
drivers/staging/rtl8192e/rtl8192e/rtl_ps.h [moved from drivers/staging/rtl8192e/rtl_ps.h with 100% similarity]
drivers/staging/rtl8192e/rtl8192e/rtl_wx.c [moved from drivers/staging/rtl8192e/rtl_wx.c with 99% similarity]
drivers/staging/rtl8192e/rtl8192e/rtl_wx.h [moved from drivers/staging/rtl8192e/rtl_wx.h with 100% similarity]

index 44425ce9e8e5547f0243c4f5058f6c227c40b5fc..a24305d7ae39d42cdf908cea14d6ef6374f6108a 100644 (file)
@@ -8,6 +8,8 @@ config RTLLIB
 
          If unsure, say N.
 
+if RTLLIB
+
 config RTLLIB_CRYPTO
        tristate "Support for rtllib crypto support"
        depends on RTLLIB
@@ -44,12 +46,6 @@ config RTLLIB_CRYPTO_WEP
 
          If you enabled RTLLIB, you want this.
 
-config RTL8192E
-       tristate "RealTek RTL8192E Wireless LAN NIC driver"
-       depends on PCI && WLAN && RTLLIB
-       depends on m
-       select WIRELESS_EXT
-       select WEXT_PRIV
-       select CRYPTO
-       default N
-       ---help---
+source "drivers/staging/rtl8192e/rtl8192e/Kconfig"
+
+endif
index d16f2ffbf5e6c57e8ab055048e9ad2e84b871f00..729cb7b936670c76d96f35fb1bdd1e1e1972f5ca 100644 (file)
@@ -17,24 +17,6 @@ obj-$(CONFIG_RTLLIB_CRYPTO_CCMP) += rtllib_crypt_ccmp.o
 obj-$(CONFIG_RTLLIB_CRYPTO_TKIP) += rtllib_crypt_tkip.o
 obj-$(CONFIG_RTLLIB_CRYPTO_WEP) += rtllib_crypt_wep.o
 
-r8192e_pci-objs :=             \
-       r8192E_dev.o            \
-       r8192E_phy.o            \
-       r8192E_firmware.o       \
-       r8192E_cmdpkt.o         \
-       r8192E_hwimg.o          \
-       r8190P_rtl8256.o        \
-       rtl_cam.o               \
-       rtl_core.o              \
-       rtl_debug.o             \
-       rtl_dm.o                \
-       rtl_eeprom.o            \
-       rtl_ethtool.o           \
-       rtl_pci.o               \
-       rtl_pm.o                \
-       rtl_ps.o                \
-       rtl_wx.o                \
-
-obj-$(CONFIG_RTL8192E) += r8192e_pci.o
+obj-$(CONFIG_RTL8192E) += rtl8192e/
 
 ccflags-y += -D__CHECK_ENDIAN__
diff --git a/drivers/staging/rtl8192e/rtl8192e/Kconfig b/drivers/staging/rtl8192e/rtl8192e/Kconfig
new file mode 100644 (file)
index 0000000..50e0d91
--- /dev/null
@@ -0,0 +1,9 @@
+config RTL8192E
+       tristate "RealTek RTL8192E Wireless LAN NIC driver"
+       depends on PCI && WLAN && RTLLIB
+       depends on m
+       select WIRELESS_EXT
+       select WEXT_PRIV
+       select CRYPTO
+       default N
+       ---help---
diff --git a/drivers/staging/rtl8192e/rtl8192e/Makefile b/drivers/staging/rtl8192e/rtl8192e/Makefile
new file mode 100644 (file)
index 0000000..313a92e
--- /dev/null
@@ -0,0 +1,21 @@
+r8192e_pci-objs :=             \
+       r8192E_dev.o            \
+       r8192E_phy.o            \
+       r8192E_firmware.o       \
+       r8192E_cmdpkt.o         \
+       r8192E_hwimg.o          \
+       r8190P_rtl8256.o        \
+       rtl_cam.o               \
+       rtl_core.o              \
+       rtl_debug.o             \
+       rtl_dm.o                \
+       rtl_eeprom.o            \
+       rtl_ethtool.o           \
+       rtl_pci.o               \
+       rtl_pm.o                \
+       rtl_ps.o                \
+       rtl_wx.o                \
+
+obj-$(CONFIG_RTL8192E) += r8192e_pci.o
+
+ccflags-y += -D__CHECK_ENDIAN__
similarity index 99%
rename from drivers/staging/rtl8192e/r8192E_phy.c
rename to drivers/staging/rtl8192e/rtl8192e/r8192E_phy.c
index 7fe69a3348d738798e55e3cfc8e995ab64784b63..4db46a878b61ba4e6311c2dd8c570db0a2fbfc4e 100644 (file)
@@ -23,7 +23,6 @@
 #include "r8190P_rtl8256.h"
 #include "r8192E_phy.h"
 #include "rtl_dm.h"
-#include "dot11d.h"
 
 #include "r8192E_hwimg.h"
 
similarity index 99%
rename from drivers/staging/rtl8192e/rtl_core.h
rename to drivers/staging/rtl8192e/rtl8192e/rtl_core.h
index 46407efacc96eee2b6799464efc00a7abedf725f..93478df42b7d971ce9706c8a0f6b0ab3175fb442 100644 (file)
@@ -50,9 +50,9 @@
 /* Need this defined before including local include files */
 #define DRV_NAME "rtl819xE"
 
-#include "rtllib.h"
+#include "../rtllib.h"
 
-#include "dot11d.h"
+#include "../dot11d.h"
 
 #include "r8192E_firmware.h"
 #include "r8192E_hw.h"
similarity index 99%
rename from drivers/staging/rtl8192e/rtl_wx.c
rename to drivers/staging/rtl8192e/rtl8192e/rtl_wx.c
index 93b1edbe6baec5c7a3f543871759accab9393dd4..44fffe2f3d07b565e05cf7efb168aaae2326d35a 100644 (file)
@@ -19,7 +19,6 @@
 
 #include <linux/string.h>
 #include "rtl_core.h"
-#include "dot11d.h"
 
 #define RATE_COUNT 12
 static u32 rtl8192_rates[] = {