openwrt/target/linux/generic/pending-3.18
Hauke Mehrtens fd5c168701 kernel: Build: Split kmod-regmap
This reduces the needed modifications to the mainline Linux kernel and
also makes the regmap package work with an out of tree kernel which
does not have these modifications.

The regmap-core is only added when it is really build as a module.
The regmap-core is normally bool so it cannot be built as a module in an
unmodified kernel. When it is selected by on other kernel module it will
always be selected as build in and it also does not show up in
$(LINUX_DIR)/modules.builtin as it is not supposed to be a kernel module.
When it is not in $(LINUX_DIR)/modules.builtin the build system expects
it to be built as a .ko file.
Just check if the module is really there and only add it in that case.

This splits the regmap package into multiple packages, one for each bus type.
This way only the bus maps which are really needed have to be added.
This also splits the I2C, SPI and MMIO regmap into separate packages to not
require all these subsystems to build them, on an unmodified upstream kernel
this also causes problems in some situations.

Signed-off-by: Hauke Mehrtens <hauke.mehrtens@intel.com>
2019-01-27 00:16:13 +01:00
..
001-mtdsplit_backport.patch kernel: bump 3.18 to 3.18.130 2018-12-18 14:24:57 +01:00
002-phy_drivers_backport.patch kernel: bump 3.18 to 3.18.128 2018-12-10 11:48:44 +01:00
003-myloader_backport.patch
020-ssb_update.patch
021-ssb_sprom.patch
025-bcma_backport.patch
026-bcma-from-3.20.patch
027-bcma-from-4.1.patch
028-bcma-from-4.2.patch
029-bcma-from-4.4.patch
030-backport_bcm47xx_nvram.patch
030-nl80211-Allow-set-network-namespace-by-fd.patch kernel: bump 3.18 to 3.18.119 2018-08-20 13:03:23 +02:00
031-bcma-from-4.5.patch
032-bcma-from-4.6.patch
040-mtd-bcm47xxpart-backports-from-3.19.patch
041-mtd-bcm47xxpart-backports-from-3.20.patch
043-mtd_GD25Q128B_support_backport_from_3.19.patch
044-backport-m25p80-jedec-probe.patch
050-backport_netfilter_rtcache.patch
051-02-bridge-allow-setting-hash_max-multicast_router-if-in.patch
060-mips_decompressor_memmove.patch
070-bgmac-register-napi-before-the-device.patch
071-bgmac-activate-irqs-only-if-there-is-nothing-to-poll.patch
073-bgmac-Clean-warning-messages.patch
074-bgmac-register-fixed-PHY-for-ARM-BCM470X-BCM5301X-ch.patch
075-bgmac-allow-enabling-on-ARCH_BCM_5301X.patch
076-net-phy-export-fixed_phy_register.patch
077-01-bgmac-fix-descriptor-frame-start-end-definitions.patch
077-02-bgmac-implement-GRO-and-use-build_skb.patch
077-03-bgmac-implement-scatter-gather-support.patch
077-04-bgmac-simplify-tx-ring-index-handling.patch
077-05-bgmac-leave-interrupts-disabled-as-long-as-there-is-.patch
077-06-bgmac-set-received-skb-headroom-to-NET_SKB_PAD.patch
077-07-bgmac-simplify-rx-DMA-error-handling.patch
077-08-bgmac-add-check-for-oversized-packets.patch
077-09-bgmac-increase-rx-ring-size-from-511-to-512.patch
077-10-bgmac-simplify-dma-init-cleanup.patch
077-11-bgmac-fix-DMA-rx-corruption.patch
077-12-bgmac-drop-ring-num_slots.patch
078-bgmac-reset-enable-Ethernet-core-before-using-it.patch
079-bgmac-fix-MAC-soft-reset-bit-for-corerev-4.patch
080-00-fib_trie-Fix-proc-net-fib_trie-when-CONFIG_IP_MULTIP.patch
080-01-fib_trie-Fix-trie-balancing-issue-if-new-node-pushes.patch
080-02-fib_trie-Update-usage-stats-to-be-percpu-instead-of-.patch
080-03-fib_trie-Make-leaf-and-tnode-more-uniform.patch
080-04-fib_trie-Merge-tnode_free-and-leaf_free-into-node_fr.patch
080-05-fib_trie-Merge-leaf-into-tnode.patch
080-06-fib_trie-Optimize-fib_table_lookup-to-avoid-wasting-.patch
080-07-fib_trie-Optimize-fib_find_node.patch
080-08-fib_trie-Optimize-fib_table_insert.patch
080-09-fib_trie-Update-meaning-of-pos-to-represent-unchecke.patch
080-10-fib_trie-Use-unsigned-long-for-anything-dealing-with.patch
080-11-fib_trie-Push-rcu_read_lock-unlock-to-callers.patch
080-12-fib_trie-Move-resize-to-after-inflate-halve.patch
080-13-fib_trie-Add-functions-should_inflate-and-should_hal.patch
080-14-fib_trie-Push-assignment-of-child-to-parent-down-int.patch
080-15-fib_trie-Push-tnode-flushing-down-to-inflate-halve.patch
080-16-fib_trie-inflate-halve-nodes-in-a-more-RCU-friendly-.patch
080-17-fib_trie-Remove-checks-for-index-tnode_child_length-.patch
080-18-fib_trie-Add-tracking-value-for-suffix-length.patch
080-19-fib_trie-Use-index-0ul-n-bits-instead-of-index-n-bit.patch
080-20-fib_trie-Fix-RCU-bug-and-merge-similar-bits-of-infla.patch
080-21-fib_trie-Fall-back-to-slen-update-on-inflate-halve-f.patch
080-22-fib_trie-Add-collapse-and-should_collapse-to-resize.patch
080-23-fib_trie-Use-empty_children-instead-of-counting-empt.patch
080-24-fib_trie-Move-fib_find_alias-to-file-where-it-is-use.patch
080-25-fib_trie-Various-clean-ups-for-handling-slen.patch
081-01-pppoe-Use-workqueue-to-die-properly-when-a-PADT-is-r.patch kernel: bump 3.18 to 3.18.119 2018-08-20 13:03:23 +02:00
081-02-pppoe-Lacks-DST-MAC-address-check.patch
081-03-pppoe-drop-pppoe-device-in-pppoe_unbind_sock_work.patch
081-06-ppp-don-t-set-sk_state-to-PPPOX_ZOMBIE-in-pppoe_disc.patch
081-07-ppp-remove-PPPOX_ZOMBIE-socket-state.patch kernel: bump 3.18 to 3.18.119 2018-08-20 13:03:23 +02:00
081-08-pppoe-fix-memory-corruption-in-padt-work-structure.patch kernel: bump 3.18 to 3.18.119 2018-08-20 13:03:23 +02:00
082-ipv6-ip6_fragment-fix-headroom-tests-and-skb-leak.patch kernel: bump 3.18 to 3.18.124 2018-10-16 10:06:45 +02:00
083-solos-pci-Increase-headroom-on-received-packets.patch
087-regmap-make-LZO-cache-optional.patch
090-overlayfs-fallback-to-readonly-when-full.patch
091-mtd-spi-nor-add-support-Spansion_S25FL164K.patch
092-01-spi-Check-to-see-if-the-device-is-processing-a-messa.patch
092-02-spi-Pump-transfers-inside-calling-context-for-spi_sy.patch
092-03-spi-Only-idle-the-message-pump-in-the-worker-kthread.patch
095-api-fix-compatibility-of-linux-in.h-with-netinet-in..patch
099-module_arch_freeing_init-new-hook-for-archs-before-m.patch
102-ehci_hcd_ignore_oc.patch
110-jffs2-use-.rename2-and-add-RENAME_WHITEOUT-support.patch kernel: bump 3.18 to 3.18.119 2018-08-20 13:03:23 +02:00
111-jffs2-add-RENAME_EXCHANGE-support.patch kernel: bump 3.18 to 3.18.119 2018-08-20 13:03:23 +02:00
120-bridge_allow_receiption_on_disabled_port.patch
132-mips_inline_dma_ops.patch
140-mtd-part-add-generic-parsing-of-linux-part-probe.patch
142-mtd-bcm47xxpart-don-t-fail-because-of-bit-flips.patch
180-usb-xhci-make-USB_XHCI_PLATFORM-selectable.patch
190-cdc_ncm_add_support_for_moving_ndp_to_end_of_ncm_frame.patch
192-USB-qcserial-Add-support-for-Quectel-EC20-Mini-PCIe-.patch kernel: bump 3.18 to 3.18.125 2018-11-14 16:27:43 +01:00
193-USB-qmi_wwan-Add-quirk-for-Quectel-EC20-Mini-PCIe-mo.patch kernel: bump 3.18 to 3.18.119 2018-08-20 13:03:23 +02:00
200-fix_localversion.patch
201-extra_optimization.patch
202-reduce_module_size.patch kernel: bump 3.18 to 3.18.119 2018-08-20 13:03:23 +02:00
203-kallsyms_uncompressed.patch
204-module_strip.patch
205-backtrace_module_info.patch
210-darwin_scripts_include.patch
212-byteshift_portability.patch
213-x86_vdso_portability.patch
214-spidev_h_portability.patch kernel: bump 3.18 to 3.18.119 2018-08-20 13:03:23 +02:00
220-gc_sections.patch
221-module_exports.patch
230-openwrt_lzma_options.patch
250-netfilter_depends.patch
251-sound_kconfig.patch
252-mv_cesa_depends.patch
253-ssb_b43_default_on.patch
254-textsearch_kconfig_hacks.patch
255-lib80211_kconfig_hacks.patch
256-crypto_add_kconfig_prompts.patch
257-wireless_ext_kconfig_hack.patch
258-netfilter_netlink_kconfig_hack.patch
259-regmap_dynamic.patch kernel: Build: Split kmod-regmap 2019-01-27 00:16:13 +01:00
260-crypto_test_dependencies.patch
270-uapi-libc-compat-add-fallback-for-unsupported-libcs.patch kernel: use upstream patches for musl 2018-01-20 22:11:33 +01:00
272-uapi-if_ether.h-prevent-redefinition-of-struct-ethhd.patch kernel: bump 3.18 to 3.18.119 2018-08-20 13:03:23 +02:00
300-mips_expose_boot_raw.patch
301-mips_image_cmdline_hack.patch
302-mips_no_branch_likely.patch
304-mips_disable_fpu.patch
305-mips_module_reloc.patch
306-mips_mem_functions_performance.patch
307-mips_highmem_offset.patch
310-arm_module_unresolved_weak_sym.patch
320-ppc4xx_optimization.patch
321-powerpc_crtsavres_prereq.patch
330-MIPS-kexec-Accept-command-line-parameters-from-users.patch kernel: bump 3.18 to 3.18.126 2018-11-22 12:40:19 +01:00
400-mtd-add-rootfs-split-support.patch
401-mtd-add-support-for-different-partition-parser-types.patch
402-mtd-use-typed-mtd-parsers-for-rootfs-and-firmware-split.patch
403-mtd-hook-mtdsplit-to-Kbuild.patch
404-mtd-add-more-helper-functions.patch
405-mtd-old-firmware-uimage-splitter.patch
406-mtd-old-rootfs-squashfs-splitter.patch
410-mtd-move-forward-declaration-of-struct-mtd_info.patch
411-mtd-partial_eraseblock_write.patch
412-mtd-partial_eraseblock_unlock.patch
420-mtd-redboot_space.patch
430-mtd-add-myloader-partition-parser.patch
431-mtd-bcm47xxpart-check-for-bad-blocks-when-calculatin.patch
432-mtd-bcm47xxpart-detect-T_Meter-partition.patch
440-block2mtd_init.patch
441-block2mtd_probe.patch
450-mtd-nand-allow-to-use-platform-specific-chip-fixup.patch
451-mtd-nand-fix-return-code-of-nand_correct_data-function.patch
460-mtd-cfi_cmdset_0002-no-erase_suspend.patch
461-mtd-cfi_cmdset_0002-add-buffer-write-cmd-timeout.patch kernel: bump 3.18 to 3.18.119 2018-08-20 13:03:23 +02:00
472-mtd-m25p80-add-support-for-Winbond-W25X05-flash.patch
473-mtd-spi-nor-add-support-for-the-Macronix-MX25L512E-S.patch
474-mtd-spi-nor-add-support-for-the-ISSI-SI25CD512-SPI-f.patch
475-mtd-spi-nor-add-macronix-mx25u25635f.patch
476-mtd-spi-nor-add-eon-en25qh32.patch kernel: bump 3.18 to 3.18.119 2018-08-20 13:03:23 +02:00
480-mtd-set-rootfs-to-be-root-dev.patch
490-ubi-auto-attach-mtd-device-named-ubi-or-data-on-boot.patch kernel: bump 3.18 to 3.18.119 2018-08-20 13:03:23 +02:00
491-ubi-auto-create-ubiblock-device-for-rootfs.patch
492-try-auto-mounting-ubi0-rootfs-in-init-do_mounts.c.patch
493-ubi-set-ROOT_DEV-to-ubiblock-rootfs-if-unset.patch
494-mtd-ubi-add-EOF-marker-support.patch
530-jffs2_make_lzma_available.patch kernel: bump 3.18 to 3.18.126 2018-11-22 12:40:19 +01:00
531-debloat_lzma.patch
532-jffs2_eofdetect.patch
550-ubifs-symlink-xattr-support.patch
551-ubifs-fix-default-compression-selection.patch
600-netfilter_conntrack_flush.patch
610-netfilter_match_bypass_default_checks.patch kernel: bump 3.18 to 3.18.119 2018-08-20 13:03:23 +02:00
611-netfilter_match_bypass_default_table.patch
612-netfilter_match_reduce_memory_access.patch
613-netfilter_optional_tcp_window_check.patch
616-net_optimize_xfrm_calls.patch
621-sched_act_connmark.patch
630-packet_socket_type.patch kernel: bump 3.18 to 3.18.132 2019-01-16 12:56:30 +01:00
640-bridge_no_eap_forward.patch
641-bridge_always_accept_eap.patch
642-bridge_port_isolate.patch kernel: adjust bridge port isolate patch to match upstream attribute naming 2018-07-11 20:59:05 +02:00
645-bridge_multicast_to_unicast.patch kernel: bump 3.18 to 3.18.119 2018-08-20 13:03:23 +02:00
650-pppoe_header_pad.patch kernel: bump 3.18 to 3.18.119 2018-08-20 13:03:23 +02:00
651-wireless_mesh_header.patch
653-disable_netlink_trim.patch kernel: bump 3.18 to 3.18.119 2018-08-20 13:03:23 +02:00
655-increase_skb_pad.patch
656-skb_reduce_truesize-helper.patch
657-qdisc_reduce_truesize.patch
660-fq_codel_defaults.patch
661-fq_codel_keep_dropped_stats.patch
662-use_fq_codel_by_default.patch
663-remove_pfifo_fast.patch
666-Add-support-for-MAP-E-FMRs-mesh-mode.patch kernel: bump 3.18 to 3.18.125 2018-11-14 16:27:43 +01:00
667-ipv6-Fixed-source-specific-default-route-handling.patch kernel: bump 3.18 to 3.18.124 2018-10-16 10:06:45 +02:00
670-ipv6-allow-rejecting-with-source-address-failed-policy.patch kernel: bump 3.18 to 3.18.119 2018-08-20 13:03:23 +02:00
671-net-provide-defines-for-_POLICY_FAILED-until-all-cod.patch
680-NET-skip-GRO-for-foreign-MAC-addresses.patch kernel: bump 3.18 to 3.18.128 2018-12-10 11:48:44 +01:00
681-NET-add-of_get_mac_address_mtd.patch
700-swconfig.patch
701-phy_extension.patch kernel: bump 3.18 to 3.18.119 2018-08-20 13:03:23 +02:00
702-phy_add_aneg_done_function.patch kernel: bump 3.18 to 3.18.119 2018-08-20 13:03:23 +02:00
703-phy-add-detach-callback-to-struct-phy_driver.patch kernel: bump 3.18 to 3.18.119 2018-08-20 13:03:23 +02:00
710-phy-add-mdio_register_board_info.patch kernel: bump 3.18 to 3.18.119 2018-08-20 13:03:23 +02:00
720-phy_adm6996.patch
721-phy_packets.patch kernel: bump 3.18 to 3.18.119 2018-08-20 13:03:23 +02:00
722-phy_mvswitch.patch
723-phy_ip175c.patch
724-phy_ar8216.patch
725-phy_rtl8306.patch
726-phy_rtl8366.patch
727-phy-rtl8367.patch
728-phy-rtl8367b.patch
729-phy-tantos.patch
730-phy_b53.patch kernel: Move modifications of b53.h into patch 2018-12-15 12:50:06 +01:00
732-phy-ar8216-led-support.patch
733-phy_mvsw61xx.patch
734-net-phy-at803x-allow-to-configure-via-pdata.patch
735-net-phy-at803x-fix-at8033-sgmii-mode.patch
760-8139cp-fixes-from-4.3.patch kernel: bump 3.18 to 3.18.130 2018-12-18 14:24:57 +01:00
773-bgmac-add-srab-switch.patch
785-hso-support-0af0-9300.patch
810-pci_disable_common_quirks.patch
811-pci_disable_usb_common_quirks.patch
821-usb-dwc2-dualrole.patch
834-ledtrig-libata.patch kernel: bump 3.18 to 3.18.131 2019-01-07 17:09:06 +01:00
840-rtc7301.patch
841-rtc_pt7c4338.patch
861-04_spi_gpio_implement_spi_delay.patch
862-gpio_spi_driver.patch
870-hifn795x_byteswap.patch
890-8250_optional_sysrq.patch
901-debloat_sock_diag.patch
902-debloat_proc.patch kernel: bump 3.18 to 3.18.132 2019-01-16 12:56:30 +01:00
904-debloat_dma_buf.patch
910-kobject_uevent.patch
911-kobject_add_broadcast_uevent.patch
921-use_preinit_as_init.patch
922-always-create-console-node-in-initramfs.patch
930-crashlog.patch
970-remove-unsane-filenames-from-deps_initramfs-list.patch
980-arm_openwrt_machtypes.patch
990-gpio_wdt.patch
995-mangle_bootargs.patch
997-device_tree_cmdline.patch
998-enable_wilink_platform_without_drivers.patch
999-seccomp_log.patch