firmware: Administrative fixes
cover firmware: Administrative fixes
I'll send a pull-request shortly if no-one objects to the changes.
Ben.
Ben Hutchings (2):
brcm80211: Remove version number from filenames, matching the driver Add source and copyright notice for CIS files from pcmcia-cs
WHENCE | 30 +++++++++++++++++++++----- brcm/bcm43xx-0-610-809-0.fw | Bin 97376 -> 0 bytes brcm/bcm43xx-0.fw | Bin 0 -> 97376 bytes brcm/bcm43xx_hdr-0-610-809-0.fw | Bin 180 -> 0 bytes brcm/bcm43xx_hdr-0.fw | Bin 0 -> 180 bytes cis/src/3CCFEM556.cis | 22 +++++++++++++++++++ cis/src/3CXEM556.cis | 22 +++++++++++++++++++ cis/src/COMpad2.cis | 20 +++++++++++++++++ cis/src/COMpad4.cis | 14 ++++++++++++ cis/src/DP83903.cis | 24 +++++++++++++++++++++ cis/src/LA-PCM.cis | 44 +++++++++++++++++++++++++++++++++++++++ cis/src/MT5634ZLX.cis | 18 ++++++++++++++++ cis/src/NE2K.cis | 10 ++++++++ cis/src/PCMLM28.cis | 37 ++++++++++++++++++++++++++++++++ cis/src/PE-200.cis | 11 +++++++++ cis/src/PE520.cis | 11 +++++++++ cis/src/RS-COM-2P.cis | 14 ++++++++++++ cis/src/tamarack.cis | 17 +++++++++++++++ 18 files changed, 288 insertions(+), 6 deletions(-) delete mode 100644 brcm/bcm43xx-0-610-809-0.fw create mode 100644 brcm/bcm43xx-0.fw delete mode 100644 brcm/bcm43xx_hdr-0-610-809-0.fw create mode 100644 brcm/bcm43xx_hdr-0.fw create mode 100644 cis/src/3CCFEM556.cis create mode 100644 cis/src/3CXEM556.cis create mode 100644 cis/src/COMpad2.cis create mode 100644 cis/src/COMpad4.cis create mode 100644 cis/src/DP83903.cis create mode 100644 cis/src/LA-PCM.cis create mode 100644 cis/src/MT5634ZLX.cis create mode 100644 cis/src/NE2K.cis create mode 100644 cis/src/PCMLM28.cis create mode 100644 cis/src/PE-200.cis create mode 100644 cis/src/PE520.cis create mode 100644 cis/src/RS-COM-2P.cis create mode 100644 cis/src/tamarack.cis
Signature · 1 line
1.7.2.3
PATCH 1/2 brcm80211: Remove version number from filenames, matching the driver
The driver generates filenames like this:
sprintf(fw_name, "%s-%d.fw", wl_firmwares[i],
UCODE_LOADER_API_VER);
...
sprintf(fw_name, "%s_hdr-%d.fw", wl_firmwares[i],
UCODE_LOADER_API_VER);which implies the filenames should be:
brcm/bcm43xx-0.fw
brcm/bcm43xx_hdr-0.fw--- WHENCE | 5 +++-- brcm/bcm43xx-0-610-809-0.fw | Bin 97376 -> 0 bytes brcm/bcm43xx-0.fw | Bin 0 -> 97376 bytes brcm/bcm43xx_hdr-0-610-809-0.fw | Bin 180 -> 0 bytes brcm/bcm43xx_hdr-0.fw | Bin 0 -> 180 bytes 5 files changed, 3 insertions(+), 2 deletions(-) delete mode 100644 brcm/bcm43xx-0-610-809-0.fw create mode 100644 brcm/bcm43xx-0.fw delete mode 100644 brcm/bcm43xx_hdr-0-610-809-0.fw create mode 100644 brcm/bcm43xx_hdr-0.fw
WHENCE +3 -2
@@ -1403,8 +1403,9 @@ Licence: Driver: brcm80211 - Broadcom 802.11n wireless LAN driver. -File: brcm/bcm43xx-0-610-809-0.fw -File: brcm/bcm43xx_hdr-0-610-809-0.fw +File: brcm/bcm43xx-0.fw +File: brcm/bcm43xx_hdr-0.fw +Version: 610.809.0 Licence: Redistributable. See LICENCE.broadcom_bcm43xx for details.
[binary changes omitted]
Re: [PATCH 1/2] brcm80211: Remove version number from filenames, matching the driver
Quoted 42 lines · Ben Hutchings
The driver generates filenames like this:
sprintf(fw_name, "%s-%d.fw", wl_firmwares[i], UCODE_LOADER_API_VER); ... sprintf(fw_name, "%s_hdr-%d.fw", wl_firmwares[i], UCODE_LOADER_API_VER);which implies the filenames should be:
brcm/bcm43xx-0.fw brcm/bcm43xx_hdr-0.fwSigned-off-by Ben Hutchings <[email protected]>--- WHENCE | 5 +++-- brcm/bcm43xx-0-610-809-0.fw | Bin 97376 -> 0 bytes brcm/bcm43xx-0.fw | Bin 0 -> 97376 bytes brcm/bcm43xx_hdr-0-610-809-0.fw | Bin 180 -> 0 bytes brcm/bcm43xx_hdr-0.fw | Bin 0 -> 180 bytes 5 files changed, 3 insertions(+), 2 deletions(-) delete mode 100644 brcm/bcm43xx-0-610-809-0.fw create mode 100644 brcm/bcm43xx-0.fw delete mode 100644 brcm/bcm43xx_hdr-0-610-809-0.fw create mode 100644 brcm/bcm43xx_hdr-0.fwWHENCE +3
-2@@ -1403,8 +1403,9 @@ Licence: Driver: brcm80211 - Broadcom 802.11n wireless LAN driver. -File: brcm/bcm43xx-0-610-809-0.fw -File: brcm/bcm43xx_hdr-0-610-809-0.fw +File: brcm/bcm43xx-0.fw +File: brcm/bcm43xx_hdr-0.fw +Version: 610.809.0 Licence: Redistributable. See LICENCE.broadcom_bcm43xx for details.
Quoted 2 lines
[binary changes omitted]
The brcmfmac files need renaming as well. This patch (finally generated with the -M flag) renames all the firmware files and fixes up the WHENCE:
Quoted 1 line
From
93e6654ddc60e92fa97726ce3e8acc8ab6ee9e11Mon Sep 17 00:00:00 2001
From: Henry Ptasinski <[email protected]>
Date: Mon, 10 Jan 2011 12:04:55 -0800
Subject: [PATCH] brcm: Removed codeversion from firmware filenames.
The basename-apiversion-codeversion construction for firmware filenames is not used by most other firmware files, adds complexity, and is not providing any value. Renamed the firmware files using just basename-apiversion. Also, fixed WHENCE to have correct path to brcmfmac files.
---
WHENCE | 10 +++++-----
...llmac-4-218-248-5.bin => bcm4329-fullmac-4.bin} | Bin 269595 -> 269595 bytes
...llmac-4-218-248-5.txt => bcm4329-fullmac-4.txt} | 0
brcm/{bcm43xx-0-610-809-0.fw => bcm43xx-0.fw} | Bin 97376 -> 97376 bytes
...bcm43xx_hdr-0-610-809-0.fw => bcm43xx_hdr-0.fw} | Bin 180 -> 180 bytes
5 files changed, 5 insertions(+), 5 deletions(-)
rename brcm/{bcm4329-fullmac-4-218-248-5.bin => bcm4329-fullmac-4.bin} (100%)
rename brcm/{bcm4329-fullmac-4-218-248-5.txt => bcm4329-fullmac-4.txt} (100%)
rename brcm/{bcm43xx-0-610-809-0.fw => bcm43xx-0.fw} (100%)
rename brcm/{bcm43xx_hdr-0-610-809-0.fw => bcm43xx_hdr-0.fw} (100%)WHENCE +5 -5
@@ -1413,17 +1413,17 @@ Licence: Driver: brcm80211 - Broadcom 802.11n wireless LAN driver. -File: brcm/bcm43xx-0-610-809-0.fw -File: brcm/bcm43xx_hdr-0-610-809-0.fw +File: brcm/bcm43xx-0.fw +File: brcm/bcm43xx_hdr-0.fw Licence: Redistributable. See LICENCE.broadcom_bcm43xx for details. -------------------------------------------------------------------------- -Driver: brcm80211 - Broadcom 802.11n wireless LAN driver. +Driver: brcmfmac - Broadcom 802.11n wireless LAN driver. -File: bcm4329-fullmac-4-218-248-5.bin -File: bcm4329-fullmac-4-218-248-5.txt +File: brcm/bcm4329-fullmac-4.bin +File: brcm/bcm4329-fullmac-4.txt Licence: Redistributable. See LICENCE.broadcom_bcm43xx for details.
brcm/bcm4329-fullmac-4.txt renamed from brcm/bcm4329-fullmac-4-218-248-5.txt +0 -0
Signature · 1 line
1.7.1
PATCH 2/2 Add source and copyright notice for CIS files from pcmcia-cs
In reply to Ben HutchingsThe CIS files mostly come from pcmcia-cs releases, in which the source files were named etc/cis/*.cis and the binaries were named etc/cis/*.dat. However, the current drivers request the *binaries* as cis/*.cis. It's too late to fix that, so put the sources in a subdirectory here.
--- WHENCE | 25 +++++++++++++++++++++---- cis/src/3CCFEM556.cis | 22 ++++++++++++++++++++++ cis/src/3CXEM556.cis | 22 ++++++++++++++++++++++ cis/src/COMpad2.cis | 20 ++++++++++++++++++++ cis/src/COMpad4.cis | 14 ++++++++++++++ cis/src/DP83903.cis | 24 ++++++++++++++++++++++++ cis/src/LA-PCM.cis | 44 ++++++++++++++++++++++++++++++++++++++++++++ cis/src/MT5634ZLX.cis | 18 ++++++++++++++++++ cis/src/NE2K.cis | 10 ++++++++++ cis/src/PCMLM28.cis | 37 +++++++++++++++++++++++++++++++++++++ cis/src/PE-200.cis | 11 +++++++++++ cis/src/PE520.cis | 11 +++++++++++ cis/src/RS-COM-2P.cis | 14 ++++++++++++++ cis/src/tamarack.cis | 17 +++++++++++++++++ 14 files changed, 285 insertions(+), 4 deletions(-) create mode 100644 cis/src/3CCFEM556.cis create mode 100644 cis/src/3CXEM556.cis create mode 100644 cis/src/COMpad2.cis create mode 100644 cis/src/COMpad4.cis create mode 100644 cis/src/DP83903.cis create mode 100644 cis/src/LA-PCM.cis create mode 100644 cis/src/MT5634ZLX.cis create mode 100644 cis/src/NE2K.cis create mode 100644 cis/src/PCMLM28.cis create mode 100644 cis/src/PE-200.cis create mode 100644 cis/src/PE520.cis create mode 100644 cis/src/RS-COM-2P.cis create mode 100644 cis/src/tamarack.cis
WHENCE +21 -4
@@ -806,30 +806,42 @@ File: cis/NE2K.cis File: cis/tamarack.cis File: cis/PE-200.cis File: cis/PE520.cis +Source: cis/src/LA-PCM.cis +Source: cis/src/PCMLM28.cis +Source: cis/src/DP83903.cis +Source: cis/src/NE2K.cis +Source: cis/src/tamarack.cis +Source: cis/src/PE-200.cis +Source: cis/src/PE520.cis -Licence: GPL +Licence: Dual GPLv2/MPL Originally developed by the pcmcia-cs project +Copyright (C) 1998, 1999, 2000 David A. Hinds -------------------------------------------------------------------------- Driver: 3c589_cs - 3Com PCMCIA adapter File: cis/3CXEM556.cis +Source: cis/src/3CXEM556.cis -Licence: GPL +Licence: Dual GPLv2/MPL Originally developed by the pcmcia-cs project +Copyright (C) 1998, 1999, 2000 David A. Hinds -------------------------------------------------------------------------- Driver: 3c574_cs - 3Com PCMCIA adapter File: cis/3CCFEM556.cis +Source: cis/src/3CCFEM556.cis -Licence: GPL +Licence: Dual GPLv2/MPL Originally developed by the pcmcia-cs project +Copyright (C) 1998, 1999, 2000 David A. Hinds --------------------------------------------------------------------------
@@ -839,10 +851,15 @@ File: cis/MT5634ZLX.cis File: cis/RS-COM-2P.cis File: cis/COMpad2.cis File: cis/COMpad4.cis +Source: cis/src/MT5634ZLX.cis +Source: cis/src/RS-COM-2P.cis +Source: cis/src/COMpad2.cis +Source: cis/src/COMpad4.cis -Licence: GPL +Licence: Dual GPLv2/MPL Originally developed by the pcmcia-cs project +Copyright (C) 1998, 1999, 2000 David A. Hinds --------------------------------------------------------------------------
cis/src/3CCFEM556.cis new file +22 -0
@@ -0,0 +1,22 @@ +# +# This card is MFC-compliant, but identifies itself as single function +# +vers_1 5.0, "3Com", "Megahertz 3CCFEM556", "LAN + 56k Modem" +manfid 0x0101, 0x0556 +funcid 0 + +mfc { + funcid network_adapter + config base 0x1000 mask 0x267 last_index 0x07 + cftable_entry 0x07 + Vcc Vnom 5V + irq mask 0xffff [level] + io 0x0000-0x000f [8bit] [16bit] +}, { + funcid serial_port + config base 0x1100 mask 0x277 last_index 0x27 + cftable_entry 0x27 + Vcc Vnom 5V + irq mask 0xffff [level] + io 0x0000-0x0007 [8bit] +}
cis/src/3CXEM556.cis new file +22 -0
@@ -0,0 +1,22 @@ +# +# This card is MFC-compliant, but identifies itself as single function +# +vers_1 5.0, "3Com", "Megahertz 3CXEM556", "LAN + 56k Modem" +manfid 0x0101, 0x0035 +funcid 0 + +mfc { + funcid network_adapter + config base 0x0800 mask 0x63 last_index 0x07 + cftable_entry 0x07 + Vcc Vnom 5V + irq mask 0xffff [level] + io 0x0000-0x000f [8bit] [16bit] +}, { + funcid serial_port + config base 0x900 mask 0x63 last_index 0x27 + cftable_entry 0x27 + Vcc Vnom 5V + irq mask 0xffff [level] + io 0x0000-0x0007 [8bit] +}
cis/src/COMpad2.cis new file +20 -0
@@ -0,0 +1,20 @@ +# +# Replacement CIS for Advantech COMpad-32/85 +# +dev_info + NULL 0ns, 512b +vers_1 4.1, "ADVANTECH", "COMpad-32/85", "1.0" +funcid serial_port [post] +config base 0x0100 mask 0x0003 last_index 0x05 +cftable_entry 0x01 [default] + [mwait] + io 0x02e8-0x02ef, 0x03e8-0x03ef [lines=10] [8bit] [range] + irq mask 0x9eb8 [level] +cftable_entry 0x02 + io 0x0330-0x033f [lines=10] [8bit] [range] +cftable_entry 0x03 + io 0x0340-0x034f [lines=10] [8bit] [range] +cftable_entry 0x04 + io 0x0350-0x035f [lines=10] [8bit] [range] +cftable_entry 0x05 + io 0x0360-0x036f [lines=10] [8bit] [range]
cis/src/COMpad4.cis new file +14 -0
@@ -0,0 +1,14 @@ +# +# Replacement CIS for Advantech COMpad-32/85B-4 +# +dev_info + NULL 0ns, 512b +vers_1 4.1, "ADVANTECH", "COMpad-32/85B-4" +funcid serial_port [post] +config base 0x0100 mask 0x0001 last_index 0x02 +cftable_entry 0x01 [default] + [mwait] + io 0x0240-0x025f [lines=10] [8bit] [range] + irq mask 0x9eb8 [level] +cftable_entry 0x02 + io 0x0340-0x035f [lines=10] [8bit] [range]
cis/src/DP83903.cis new file +24 -0
@@ -0,0 +1,24 @@ +# +# This CIS is for cards based on the National Semiconductor +# DP83903 Multiple Function Interface Chip +# +vers_1 4.1, "Multifunction Card", "", "", "NSC MF LAN/Modem" +manfid 0x0175, 0x0000 +funcid 0 + +mfc { + funcid network_adapter + config base 0x1020 mask 0x277 last_index 0x17 + cftable_entry 0x17 + Vcc Vnom 5V + irq mask 0xffff [level] + io 0x0000-0x001f [8bit] [16bit] + memory 0x0000-0x3fff @ 0x0000 +}, { + funcid serial_port + config base 0x1040 mask 0x0277 last_index 0x07 + cftable_entry 0x07 + Vcc Vnom 5V + irq mask 0xffff [level] + io 0x0000-0x0007 [8bit] +}
cis/src/LA-PCM.cis new file +44 -0
44 lines not on this page · raw message
cis/src/MT5634ZLX.cis new file +18 -0
@@ -0,0 +1,18 @@ +# +# Replacement CIS for Multitech MT5634ZLX modems +# +dev_info no_info +vers_1 4.1, "MultiTech", "PCMCIA 56K DataFax" +manfid 0x0200, 0x0001 +funcid serial_port +config base 0xff80 mask 0x0067 last_index 0x27 +cftable_entry 0x0f [default] + [rdybsy] [audio] [pwrdown] + Vcc Vnom 5V Vpp1 Vnom 5V Vpp2 Vnom 5V + io 0x03f8-0x03ff [lines=10] [8bit] +cftable_entry 0x17 + io 0x02f8-0x02ff [lines=10] [8bit] +cftable_entry 0x1f + io 0x03e8-0x03ef [lines=10] [8bit] +cftable_entry 0x27 + io 0x02e8-0x02ef [lines=10] [8bit]
cis/src/NE2K.cis new file +10 -0
@@ -0,0 +1,10 @@ +# +# Replacement CIS for various busted NE2000-compatible cards +# +vers_1 4.1, "PCMCIA", "Ethernet" +funcid network_adapter +config base 0x03f8 mask 0x03 last_index 0x20 +cftable_entry 0x20 [default] + Vcc Vnom 5V + irq mask 0xffff [level] + io 0x0000-0x001f [8bit] [16bit]
cis/src/PCMLM28.cis new file +37 -0
@@ -0,0 +1,37 @@ +# +# The on-card CIS says it is MFC-compliant, but it is not +# +vers_1 4.1, "LINKSYS", "PCMLM28" +manfid 0x0143, 0xc0ab +funcid 0 +config base 0x03f8 mask 0x03 last_index 0x2f + +cftable_entry 0x24 [default] + Vcc Vnom 5V + irq mask 0xffff [level] + io 0x0300-0x031f, 0x02f8-0x02ff [8bit] [16bit] + +cftable_entry 0x25 + io 0x0320-0x033f, 0x02f8-0x02ff [8bit] [16bit] +cftable_entry 0x26 + io 0x0340-0x035f, 0x02f8-0x02ff [8bit] [16bit] +cftable_entry 0x27 + io 0x0360-0x037f, 0x02f8-0x02ff [8bit] [16bit] + +cftable_entry 0x28 + io 0x0300-0x031f, 0x03e8-0x03ef [8bit] [16bit] +cftable_entry 0x29 + io 0x0320-0x033f, 0x03e8-0x03ef [8bit] [16bit] +cftable_entry 0x2a + io 0x0340-0x035f, 0x03e8-0x03ef [8bit] [16bit] +cftable_entry 0x2b + io 0x0360-0x037f, 0x03e8-0x03ef [8bit] [16bit] + +cftable_entry 0x2c + io 0x0300-0x031f, 0x02e8-0x02ef [8bit] [16bit] +cftable_entry 0x2d + io 0x0320-0x033f, 0x02e8-0x02ef [8bit] [16bit] +cftable_entry 0x2e + io 0x0340-0x035f, 0x02e8-0x02ef [8bit] [16bit] +cftable_entry 0x2f + io 0x0360-0x037f, 0x02e8-0x02ef [8bit] [16bit]
cis/src/PE-200.cis new file +11 -0
@@ -0,0 +1,11 @@ +# +# Replacement CIS for PE-200 ethernet card +# +vers_1 4.1, "PMX ", "PE-200", "ETHERNET", "R01" +funcid network_adapter [post] [rom] +config base 0x0100 mask 0x0001 last_index 0x01 +cftable_entry 0x1 [default] + [mwait] + Vcc Vnom 5V + irq mask 0xffff [level] + io 0x0000-0x000f, 0x0010-0x001f [8bit] [16bit]
cis/src/PE520.cis new file +11 -0
@@ -0,0 +1,11 @@ +# +# Replacement CIS for LanPro EP-4000A ethernet card +# +vers_1 4.1, "KTI", "PE520 PLUS", "PCMCIA Ethernet" +manfid 0x0161, 0x0010 +funcid network_adapter +config base 0x0fd0 mask 0x0b last_index 0x01 +cftable_entry 0x01 [default] + Vcc Vnom 5V + irq mask 0xffff [level] + io 0x0000-0x001f [8bit] [16bit]
cis/src/RS-COM-2P.cis new file +14 -0
@@ -0,0 +1,14 @@ +# +# Replacement CIS for dual-serial-port IO card +# +vers_1 4.1, "PCMCIA", "RS-COM 2P" +funcid serial_port [post] +config base 0x0100 mask 0x0001 last_index 0x03 +cftable_entry 0x01 [default] + [mwait] + io 0x03e8-0x03ef, 0x02e8-0x02ef [lines=10] [8bit] [range] + irq mask 0x9eb8 [level] +cftable_entry 0x02 + io 0x0250-0x0257, 0x0258-0x025f [lines=10] [8bit] [range] +cftable_entry 0x03 + io 0x0260-0x0267, 0x0268-0x026f [lines=10] [8bit] [range]
cis/src/tamarack.cis new file +17 -0
@@ -0,0 +1,17 @@ +# +# Replacement CIS for Surecom, Tamarack NE2000 cards +# +dev_info + fn_specific 100ns, 512b +attr_dev_info + EEPROM 250ns, 512b +vers_1 4.1, "TAMARACK", "Ethernet", "A", "004743118001" +funcid network_adapter +config base 0x03f8 mask 0x0003 last_index 0x20 +cftable_entry 0x20 [default] + [mwait] + Vcc Vnom 5V Vmin 4500mV Vmax 5500mV Istatic 100mA + Iavg 170mA Ipeak 200mA + timing wait 15us + io 0x0000-0x000f, 0x0010-0x001f [lines=5] [8bit] [16bit] + irq mask 0xffff [level]
Signature · 1 line
1.7.2.3