Date:2010-06-23 16:53:40 (13 years 6 months ago)
Author:hcg
Commit:8566138a77aea036b021cf81459fa1b5a2eaa67f
Message:Add support for Marvell 88W8686

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21887 3c298f89-4303-0410-b956-a3cf2f4a3e73
Files: package/mac80211/Makefile (5 diffs)

Change Details

package/mac80211/Makefile
440440endef
441441$(eval $(call Download,usb8388))
442442
443define KernelPackage/libertas
443SD8686FW_NAME:=sd8686
444SD8686FW_VERSION:=9.70.7.p0
445
446define Download/sd8686
447  URL:=http://dev.laptop.org/pub/firmware/libertas/
448  FILE:=$(SD8686FW_NAME)-$(SD8686FW_VERSION).bin
449  MD5SUM=b4f8be61e19780a14836f146c538c5dd
450endef
451$(eval $(call Download,sd8686))
452
453SD8686HELPER_NAME:=sd8686_helper
454
455define Download/sd8686_helper
456  URL:=http://dev.laptop.org/pub/firmware/libertas/
457  FILE:=$(SD8686HELPER_NAME).bin
458  MD5SUM=2a4d8f4df198ce949c350df5674f4ac6
459endef
460$(eval $(call Download,sd8686_helper))
461
462define KernelPackage/libertas-usb
444463  $(call KernelPackage/mac80211/Default)
445464  DEPENDS+= @USB_SUPPORT +kmod-mac80211 +kmod-usb-core +kmod-lib80211
446465  TITLE:=Marvell 88W8015 Wireless Driver
...... 
450469  AUTOLOAD:=$(call AutoLoad,27,libertas usb8xxx)
451470endef
452471
472define KernelPackage/libertas-sd
473  $(call KernelPackage/mac80211/Default)
474  DEPENDS+= +kmod-mac80211 +kmod-lib80211
475  TITLE:=Marvell 88W8686 Wireless Driver
476  FILES:= \
477    $(PKG_BUILD_DIR)/drivers/net/wireless/libertas/libertas.$(LINUX_KMOD_SUFFIX) \
478    $(PKG_BUILD_DIR)/drivers/net/wireless/libertas/libertas_sdio.$(LINUX_KMOD_SUFFIX)
479  AUTOLOAD:=$(call AutoLoad,27,libertas libertas_sdio)
480endef
453481
454482define KernelPackage/ar9170
455483  $(call KernelPackage/mac80211/Default)
...... 
848876    CONFIG_MAC80211_HWSIM=$(if $(CONFIG_PACKAGE_kmod-mac80211-hwsim),m) \
849877    CONFIG_PCMCIA= \
850878    CONFIG_LIBIPW=$(if $(CONFIG_PACKAGE_kmod-net-libipw),m) \
851    CONFIG_LIBERTAS=$(if $(CONFIG_PACKAGE_kmod-libertas),m) \
879    CONFIG_LIBERTAS=$(if $(CONFIG_PACKAGE_kmod-libertas-sd)$(CONFIG_PACKAGE_kmod-libertas-usb),m) \
852880    CONFIG_LIBERTAS_CS= \
853    CONFIG_LIBERTAS_SDIO= \
881    CONFIG_LIBERTAS_SPI= \
882    CONFIG_LIBERTAS_SDIO=$(if $(CONFIG_PACKAGE_kmod-libertas-sd),m) \
854883    CONFIG_LIBERTAS_THINFIRM= \
855    CONFIG_LIBERTAS_USB=$(if $(CONFIG_PACKAGE_kmod-libertas),m) \
884    CONFIG_LIBERTAS_USB=$(if $(CONFIG_PACKAGE_kmod-libertas-usb),m) \
856885    CONFIG_IPW2100=$(if $(CONFIG_PACKAGE_kmod-net-ipw2100),m) \
857886    CONFIG_IPW2200=$(if $(CONFIG_PACKAGE_kmod-net-ipw2200),m) \
858887    CONFIG_NL80211=y \
...... 
924953    $(CP) $(PKG_BUILD_DIR)/drivers/net/wireless/ath/*.h $(1)/usr/include/mac80211/ath/
925954endef
926955
927define KernelPackage/libertas/install
956define KernelPackage/libertas-usb/install
928957    $(INSTALL_DIR) $(1)/lib/firmware
929958    $(INSTALL_DATA) $(DL_DIR)/$(USB8388FW_NAME)-$(USB8388FW_VERSION).bin $(1)/lib/firmware/$(USB8388FW_NAME).bin
930959endef
931960
961define KernelPackage/libertas-sd/install
962    echo "Libertas install: $(CONFIG_PACKAGE_kmod-libertas-sd)"
963    $(INSTALL_DIR) $(1)/lib/firmware
964    $(INSTALL_DATA) $(DL_DIR)/$(SD8686FW_NAME)-$(SD8686FW_VERSION).bin $(1)/lib/firmware/$(SD8686FW_NAME).bin
965    $(INSTALL_DATA) $(DL_DIR)/$(SD8686HELPER_NAME).bin $(1)/lib/firmware/$(SD8686HELPER_NAME).bin
966endef
967
932968define KernelPackage/cfg80211/install
933969    $(INSTALL_DIR) $(1)/lib/wifi
934970    $(INSTALL_DATA) ./files/lib/wifi/mac80211.sh $(1)/lib/wifi
...... 
10331069endef
10341070
10351071$(eval $(call KernelPackage,ath5k))
1036$(eval $(call KernelPackage,libertas))
1072$(eval $(call KernelPackage,libertas-usb))
1073$(eval $(call KernelPackage,libertas-sd))
10371074$(eval $(call KernelPackage,cfg80211))
10381075$(eval $(call KernelPackage,mac80211))
10391076$(eval $(call KernelPackage,p54-common))

Archive Download the corresponding diff file



interactive