Add rtl8180 and rtl8187 support. Based on patch from #5138.

SVN-Revision: 16022
owl
Hauke Mehrtens 2009-05-24 11:14:00 +00:00
parent cc2f664795
commit 19b01b4ffe
2 changed files with 27 additions and 4 deletions

View File

@ -217,6 +217,29 @@ $(call KernelPackage/rt2x00/Default)
AUTOLOAD:=$(call AutoLoad,27,rt2800usb) AUTOLOAD:=$(call AutoLoad,27,rt2800usb)
endef 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_NAME:=zd1211-firmware
ZD1211FW_VERSION:=1.4 ZD1211FW_VERSION:=1.4
define Download/zd1211rw define Download/zd1211rw
@ -556,6 +579,8 @@ $(eval $(call KernelPackage,rt61-pci))
$(eval $(call KernelPackage,rt73-usb)) $(eval $(call KernelPackage,rt73-usb))
$(eval $(call KernelPackage,rt2800-pci)) $(eval $(call KernelPackage,rt2800-pci))
$(eval $(call KernelPackage,rt2800-usb)) $(eval $(call KernelPackage,rt2800-usb))
$(eval $(call KernelPackage,rtl8180))
$(eval $(call KernelPackage,rtl8187))
$(eval $(call KernelPackage,zd1211rw)) $(eval $(call KernelPackage,zd1211rw))
$(eval $(call KernelPackage,mac80211-hwsim)) $(eval $(call KernelPackage,mac80211-hwsim))
$(eval $(call KernelPackage,ath9k)) $(eval $(call KernelPackage,ath9k))

View File

@ -136,8 +136,7 @@
+# CONFIG_B44_PCICORE_AUTOSELECT=y +# CONFIG_B44_PCICORE_AUTOSELECT=y
+# CONFIG_B44_PCI=y +# CONFIG_B44_PCI=y
-CONFIG_RTL8180=m CONFIG_RTL8180=m
+# CONFIG_RTL8180=m
-CONFIG_ADM8211=m -CONFIG_ADM8211=m
-CONFIG_PCMCIA_ATMEL=m -CONFIG_PCMCIA_ATMEL=m
@ -190,8 +189,7 @@
CONFIG_P54_USB=m CONFIG_P54_USB=m
-CONFIG_RTL8187=m CONFIG_RTL8187=m
+# CONFIG_RTL8187=m
-CONFIG_AT76C50X_USB=m -CONFIG_AT76C50X_USB=m
+# CONFIG_AT76C50X_USB=m +# CONFIG_AT76C50X_USB=m