diff options
author | Hauke Mehrtens <hauke@openwrt.org> | 2009-05-24 11:14:00 +0000 |
---|---|---|
committer | Hauke Mehrtens <hauke@openwrt.org> | 2009-05-24 11:14:00 +0000 |
commit | bbbf6e6d83497a4b444b7fdbd239ecfa2ae26d2f (patch) | |
tree | 2be0e1781be8d3a38a03d11f7f745b0e4adfb812 /package | |
parent | 0ea6fa29406f63ca7596111042f3a1483eec8fe6 (diff) | |
download | upstream-bbbf6e6d83497a4b444b7fdbd239ecfa2ae26d2f.tar.gz upstream-bbbf6e6d83497a4b444b7fdbd239ecfa2ae26d2f.tar.bz2 upstream-bbbf6e6d83497a4b444b7fdbd239ecfa2ae26d2f.zip |
[mac80211] Add rtl8180 and rtl8187 support.
Based on patch from #5138.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16022 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package')
-rw-r--r-- | package/mac80211/Makefile | 25 | ||||
-rw-r--r-- | package/mac80211/patches/007-remove_unused_stuff.patch | 6 |
2 files changed, 27 insertions, 4 deletions
diff --git a/package/mac80211/Makefile b/package/mac80211/Makefile index 28351ebf45..e5a23d0ddb 100644 --- a/package/mac80211/Makefile +++ b/package/mac80211/Makefile @@ -217,6 +217,29 @@ $(call KernelPackage/rt2x00/Default) AUTOLOAD:=$(call AutoLoad,27,rt2800usb) endef +define KernelPackage/rtl818x/Default + $(call KernelPackage/mac80211/Default) + TITLE:=Realtek Drivers for RTL818x devices + URL:=http://wireless.kernel.org/en/users/Drivers/rtl8187 + DEPENDS+= +kmod-eeprom-93cx6 +kmod-mac80211 @!LINUX_2_6_21||!LINUX_2_6_23||!LINUX_2_6_25 +endef + +define KernelPackage/rtl8180 + $(call KernelPackage/rtl818x/Default) + DEPENDS+= @PCI_SUPPORT + TITLE+= (RTL8180 PCI) + FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/rtl818x/rtl8180.$(LINUX_KMOD_SUFFIX) + AUTOLOAD:=$(call AutoLoad,27,rtl8180) +endef + +define KernelPackage/rtl8187 +$(call KernelPackage/rtl818x/Default) + DEPENDS+= @USB_SUPPORT + TITLE+= (RTL8187 USB) + FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/rtl818x/rtl8187.$(LINUX_KMOD_SUFFIX) + AUTOLOAD:=$(call AutoLoad,27,rtl8187) +endef + ZD1211FW_NAME:=zd1211-firmware ZD1211FW_VERSION:=1.4 define Download/zd1211rw @@ -556,6 +579,8 @@ $(eval $(call KernelPackage,rt61-pci)) $(eval $(call KernelPackage,rt73-usb)) $(eval $(call KernelPackage,rt2800-pci)) $(eval $(call KernelPackage,rt2800-usb)) +$(eval $(call KernelPackage,rtl8180)) +$(eval $(call KernelPackage,rtl8187)) $(eval $(call KernelPackage,zd1211rw)) $(eval $(call KernelPackage,mac80211-hwsim)) $(eval $(call KernelPackage,ath9k)) diff --git a/package/mac80211/patches/007-remove_unused_stuff.patch b/package/mac80211/patches/007-remove_unused_stuff.patch index e5878f6d22..3ced2352f4 100644 --- a/package/mac80211/patches/007-remove_unused_stuff.patch +++ b/package/mac80211/patches/007-remove_unused_stuff.patch @@ -136,8 +136,7 @@ +# CONFIG_B44_PCICORE_AUTOSELECT=y +# CONFIG_B44_PCI=y --CONFIG_RTL8180=m -+# CONFIG_RTL8180=m + CONFIG_RTL8180=m -CONFIG_ADM8211=m -CONFIG_PCMCIA_ATMEL=m @@ -190,8 +189,7 @@ CONFIG_P54_USB=m --CONFIG_RTL8187=m -+# CONFIG_RTL8187=m + CONFIG_RTL8187=m -CONFIG_AT76C50X_USB=m +# CONFIG_AT76C50X_USB=m |