Skip to contentSkip to conversation

introduce rt2x00_platform

PATCH In review Daniel Golle 2 participants 2 messages Dec 11, 2012 – Jan 7, 2013

lore
Share & tools
lore
#0 lore raw

cover introduce rt2x00_platform

On embedded systems built-in or PCIe connected WiFi modules usually lack their own EEPROM and use a mtd partition instead of that. In OpenWrt, this is solved by requesting a firmware and the handling the resulting hotplug call in userspace which will then extract the needed file from mtd and supply it to the driver.
In other cases, PCIe modules might come with an actual EEPROM, but yet some board-specific hacks are required, such as disabling bands or overriding the modules MAC address with a board-supplied one.

The original author of those patches is Gabor Juhos.
According to his remarks, 3 patches related to overriding the whole eeprom and introducing rt2x00_platform.h were merged into a single patch.

Daniel Golle (3):
rt2x00: allow overriding eeprom through platform_data
rt2x00: allow disabling bands through platform_data
rt2x00: add platform_data mac address

 drivers/net/wireless/rt2x00/Kconfig        |  4 ++
 drivers/net/wireless/rt2x00/Makefile       |  1 +
 drivers/net/wireless/rt2x00/rt2800pci.c    | 34 ++++++-----
 drivers/net/wireless/rt2x00/rt2x00.h       | 10 +++
 drivers/net/wireless/rt2x00/rt2x00dev.c    | 37 +++++++++++
 drivers/net/wireless/rt2x00/rt2x00eeprom.c | 98 ++++++++++++++++++++++++++++++
 drivers/net/wireless/rt2x00/rt2x00lib.h    | 16 +++++
 drivers/net/wireless/rt2x00/rt2x00pci.c    |  7 +++
 drivers/net/wireless/rt2x00/rt2x00soc.c    |  1 +
 drivers/net/wireless/rt2x00/rt61pci.c      |  5 ++
 include/linux/rt2x00_platform.h            | 23 +++++++
 11 files changed, 222 insertions(+), 14 deletions(-)
 create mode 100644 drivers/net/wireless/rt2x00/rt2x00eeprom.c
 create mode 100644 include/linux/rt2x00_platform.h
Signature · 1 line
1.8.0.1
#1 lore raw
Quoted 18 lines · Daniel Golle

On embedded systems built-in or PCIe connected WiFi modules usually lack their own EEPROM and use a mtd partition instead of that. In OpenWrt, this is solved by requesting a firmware and the handling the resulting hotplug call in userspace which will then extract the needed file from mtd and supply it to the driver.
In other cases, PCIe modules might come with an actual EEPROM, but yet some board-specific hacks are required, such as disabling bands or overriding the modules MAC address with a board-supplied one.

The original author of those patches is Gabor Juhos.
According to his remarks, 3 patches related to overriding the whole eeprom and introducing rt2x00_platform.h were merged into a single patch.

Daniel Golle (3):
rt2x00: allow overriding eeprom through platform_data
rt2x00: allow disabling bands through platform_data
rt2x00: add platform_data mac address

Quoted 14 lines
 drivers/net/wireless/rt2x00/Kconfig        |  4 ++
 drivers/net/wireless/rt2x00/Makefile       |  1 +
 drivers/net/wireless/rt2x00/rt2800pci.c    | 34 ++++++-----
 drivers/net/wireless/rt2x00/rt2x00.h       | 10 +++
 drivers/net/wireless/rt2x00/rt2x00dev.c    | 37 +++++++++++
 drivers/net/wireless/rt2x00/rt2x00eeprom.c | 98 ++++++++++++++++++++++++++++++
 drivers/net/wireless/rt2x00/rt2x00lib.h    | 16 +++++
 drivers/net/wireless/rt2x00/rt2x00pci.c    |  7 +++
 drivers/net/wireless/rt2x00/rt2x00soc.c    |  1 +
 drivers/net/wireless/rt2x00/rt61pci.c      |  5 ++
 include/linux/rt2x00_platform.h            | 23 +++++++
 11 files changed, 222 insertions(+), 14 deletions(-)
 create mode 100644 drivers/net/wireless/rt2x00/rt2x00eeprom.c
 create mode 100644 include/linux/rt2x00_platform.h

It looks like we need a repost of this series? I'm dropping the old series...

Signature · 2 lines
John W. Linville		Someday the world will need a hero, and you
[email protected]			might be all we have.  Be ready.