From bbbf6e6d83497a4b444b7fdbd239ecfa2ae26d2f Mon Sep 17 00:00:00 2001 From: Hauke Mehrtens Date: Sun, 24 May 2009 11:14:00 +0000 Subject: [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 --- package/mac80211/Makefile | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) (limited to 'package/mac80211/Makefile') 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)) -- cgit v1.2.3