diff options
author | Christian Lamparter <chunkeey@googlemail.com> | 2016-09-18 10:12:55 -0500 |
---|---|---|
committer | John Crispin <john@phrozen.org> | 2016-09-19 19:32:35 +0200 |
commit | e9401a2335cc442bd06209ff7becdd60e940c3de (patch) | |
tree | c4feabd921c345c3644a2cd31051d4ddca8c4c25 /target/linux/generic/patches-4.4 | |
parent | 7219c30da49ae35a5f9dff8f11cd39e667b6b09e (diff) | |
download | upstream-e9401a2335cc442bd06209ff7becdd60e940c3de.tar.gz upstream-e9401a2335cc442bd06209ff7becdd60e940c3de.tar.bz2 upstream-e9401a2335cc442bd06209ff7becdd60e940c3de.zip |
kernel: owl-loader for delayed Atheros ath9k fixup
Some devices (like the Cisco Meraki Z1 Cloud Managed Teleworker Gateway)
need to be able to initialize the PCIe wifi device. Normally, this is done
during the early stages of booting linux, because the necessary init code
is read from the memory mapped SPI and passed to pci_enable_ath9k_fixup.
However,this isn't possible for devices which have the init code for the
Atheros chip stored on NAND in an UBI volume. Hence, this module can be
used to initialze the chip when the user-space is ready to extract the
init code.
Martin Blumenstingl made a few fixes and added support for lantiq:
kernel: owl-loader: add support for OWL emulation PCI devices
kernel: owl-loader: don't re-scan the bus when ath9k_pci_fixup failed
kernel: owl-loader: use dev_* instead of pr_* logging functions
kernel: owl-loader: auto-generate the eeprom filename as fallback
kernel: owl-loader: add a debug message when swapping the eeprom data
kernel: owl-loader: add missing newlines in log messages
kernel: owl-loader: add support for the lantiq platform
These patches have been integrated. Thanks!
Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
Signed-off-by: Christian Lamparter <chunkeey@googlemail.com>
Diffstat (limited to 'target/linux/generic/patches-4.4')
-rw-r--r-- | target/linux/generic/patches-4.4/835-misc-owl_loader.patch | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/target/linux/generic/patches-4.4/835-misc-owl_loader.patch b/target/linux/generic/patches-4.4/835-misc-owl_loader.patch new file mode 100644 index 0000000000..bbf19c093d --- /dev/null +++ b/target/linux/generic/patches-4.4/835-misc-owl_loader.patch @@ -0,0 +1,31 @@ +--- a/drivers/misc/Kconfig 2016-09-18 15:23:07.100190724 +0200 ++++ b/drivers/misc/Kconfig 2016-09-18 15:26:56.130785350 +0200 +@@ -150,6 +150,18 @@ config SGI_IOC4 + If you have an SGI Altix with an IOC4-based card say Y. + Otherwise say N. + ++config OWL_LOADER ++ tristate "Owl loader for initializing Atheros PCI(e) Wifi chips" ++ depends on PCI ++ ---help--- ++ This kernel module helps to initialize certain Qualcomm ++ Atheros' PCI(e) Wifi chips, which have the init data ++ (which contains the PCI device ID for example) stored ++ together with the calibration data in the file system. ++ ++ This is necessary for devices like the Cisco Meraki Z1, say M. ++ Otherwise say N. ++ + config TIFM_CORE + tristate "TI Flash Media interface support" + depends on PCI +--- a/drivers/misc/Makefile 2016-09-18 15:21:56.406675181 +0200 ++++ b/drivers/misc/Makefile 2016-09-18 15:22:46.866805239 +0200 +@@ -15,6 +15,7 @@ obj-$(CONFIG_BMP085_SPI) += bmp085-spi.o + obj-$(CONFIG_DUMMY_IRQ) += dummy-irq.o + obj-$(CONFIG_ICS932S401) += ics932s401.o + obj-$(CONFIG_LKDTM) += lkdtm.o ++obj-$(CONFIG_OWL_LOADER) += owl-loader.o + obj-$(CONFIG_TIFM_CORE) += tifm_core.o + obj-$(CONFIG_TIFM_7XX1) += tifm_7xx1.o + obj-$(CONFIG_PHANTOM) += phantom.o |