Changeset 18947


Ignore:
Timestamp:
2009-12-27T00:15:16+01:00 (8 years ago)
Author:
hauke
Message:

[mac80211] b43 and b43legacy: squash firmware

Only G and L-PHY are supportted by b43 driver
Add squash firmware for b43legacy

Location:
trunk/package/mac80211
Files:
1 added
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/package/mac80211/Config.in.b43

    r18935 r18947  
    4848          up to 200k. 
    4949 
    50           Do _NOT_ use this option, if you don't know the core revision 
    51           and/or PHY type of your wireless chip. 
    52  
    53           If unsure, say N. 
     50          If unsure, say Y. 
    5451 
    5552config B43_FW_SQUASH_COREREVS 
     
    6764        string "PHY types to include" 
    6865        depends on PACKAGE_kmod-b43 && B43_FW_SQUASH 
    69         default "A,AG,G,LP" 
     66        default "G,LP" 
    7067        help 
    7168          This is a comma seperated list of PHY types: 
  • trunk/package/mac80211/Makefile

    r18905 r18947  
    488488  FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/b43legacy/b43legacy.$(LINUX_KMOD_SUFFIX) 
    489489  AUTOLOAD:=$(call AutoLoad,30,b43legacy) 
     490endef 
     491 
     492define KernelPackage/b43legacy/config 
     493        source "$(SOURCE)/Config.in.b43legacy" 
    490494endef 
    491495 
     
    713717 
    714718        b43-fwcutter --unsupported -w $(1)/lib/firmware/ $(DL_DIR)/$(PKG_B43_FWV3_SOURCE) 
     719ifneq ($(CONFIG_B43LEGACY_FW_SQUASH),) 
     720        b43-fwsquash.py "G" "$(CONFIG_B43LEGACY_FW_SQUASH_COREREVS)" "$(1)/lib/firmware/b43legacy" 
     721endif 
    715722endef 
    716723 
  • trunk/package/mac80211/files/host_bin/b43-fwsquash.py

    r18935 r18947  
    6363 
    6464revmapping = { 
     65        "ucode2.fw"             : (2,), 
     66        "ucode4.fw"             : (4,), 
    6567        "ucode5.fw"             : (5,6,7,8,9,10,), 
    6668        "ucode11.fw"            : (11,12,), 
     
    6870        "ucode14.fw"            : (14,), 
    6971        "ucode15.fw"            : (15,), 
     72        "pcm4.fw"               : (1,2,3,4,), 
    7073        "pcm5.fw"               : (5,6,7,8,9,10,), 
    7174} 
     
    7477        "a0g1initvals5.fw"      : ( (5,6,7,8,9,10,),    ("AG",), ), 
    7578        "a0g0initvals5.fw"      : ( (5,6,7,8,9,10,),    ("A", "AG",), ), 
     79        "b0g0initvals2.fw"      : ( (2,4,),             ("G",), ), 
    7680        "b0g0initvals5.fw"      : ( (5,6,7,8,9,10,),    ("G",), ), 
    7781        "b0g0initvals13.fw"     : ( (13,),              ("G",), ), 
Note: See TracChangeset for help on using the changeset viewer.