Skip to content

introduce rt2x00_platform

Daniel Golle linux-wireless 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 9 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3rt2x00: allow overriding eeprom through platform_datadrivers/net/wireless/rt2x00/Kconfig drivers/net/wireless/rt2x00/Makefile drivers/net/wireless/rt2x00/rt2800pci.c +7 more+183 -144 replies
2/3rt2x00: allow disabling bands through platform_datadrivers/net/wireless/rt2x00/rt2x00.h drivers/net/wireless/rt2x00/rt2x00dev.c include/linux/rt2x00_platform.h+20 -02 replies
3/3rt2x00: add platform_data mac addressdrivers/net/wireless/rt2x00/rt2x00.h drivers/net/wireless/rt2x00/rt2x00dev.c drivers/net/wireless/rt2x00/rt61pci.c +1 more+19 -02 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/3] 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