Commit Graph

31 Commits

Author SHA1 Message Date
Sungbo Eo
228bb84744 kernel: make kmod-ata-core selected by dependent modules
Currently kmod-ata-* will not get into images unless kmod-ata-core is added to
DEVICE_PACKAGES as well. By changing the dependencies from "depends on" to
"select", we do not have the issue anymore.

Furthermore, we can remove most occurrences of the package from DEVICE_PACKAGES
and similar variables, as it is now pulled by dependent modules such as:
- kmod-ata-ahci
- kmod-ata-ahci-mtk
- kmod-ata-sunxi

While at it, use AddDepends/ata for kmod-ata-pdc202xx-old.

Signed-off-by: Sungbo Eo <mans0n@gorani.run>
2020-03-11 19:40:03 +01:00
Adrian Schmutzler
97940f8766 kernel: remove obsolete kernel version switches
After kernel 4.9 has been removed, this removes all (now obsolete)
kernel version switches that deal with versions before 4.14.

Package kmod-crypto-iv is empty now and thus removed entirely.

Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
2020-01-12 16:34:20 +01:00
Chris Koying Browet
0e961a1f9f kernel: dm: add dm-raid for LVM raid
This adds the dm-raid kmod, which is needed for
LVM builtin raid configurations, aka "MD-over-LVM"

Signed-off-by: Chris Koying Browet <cbro@semperpax.com>
2019-06-20 20:02:29 +02:00
Hauke Mehrtens
1325e74e0c kernel: Remove support for kernel 3.18
No target is using kernel 3.18 anymore, remove all the generic
support for kernel 3.18.

The removed packages are depending on kernel 3.18 only and are not used on
any recent kernel.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2019-05-03 22:41:38 +02:00
Hauke Mehrtens
4ff4411031 kernel: Use kmod-dax on kernel 4.19
Like on kernel 4.14 kmod-dax is needed by kmod-dm also in kernel 4.19.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2018-12-15 14:28:48 +01:00
Hauke Mehrtens
38be62b97e kernel: add kmod-dax
In kernel 4.14 kmod-dm depends on kmod-dax.
Add DAX: "Direct access to differentiated memory" to LEDE.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2017-12-16 22:12:24 +01:00
Felix Fietkau
28af0f2fbd kernel: make kmod package dependencies forward compatible
Signed-off-by: Felix Fietkau <nbd@nbd.name>
2017-01-27 11:18:27 +01:00
Felix Fietkau
c472ed29b4 kernel: remove kmod-ata-imx, it is already built into the kernel
Signed-off-by: Felix Fietkau <nbd@nbd.name>
2017-01-10 13:44:24 +01:00
Felix Fietkau
4530ca3c11 kernel: remove obsolete legacy ide kernel module packages
Signed-off-by: Felix Fietkau <nbd@nbd.name>
2016-08-28 13:51:42 +02:00
Felix Fietkau
f849c2c832 mvebu: enable core drivers in the kernel config instead of packaging them
Simplify profile package selection

Signed-off-by: Felix Fietkau <nbd@nbd.name>
2016-05-21 19:57:06 +02:00
Daniel Golle
055d8d9c61 oxnas: move target-specific modules into target's modules.mk
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2016-05-17 17:26:05 +02:00
Jonas Gorski
4454a3fb63 package: kernel: update dependencies for 4.4
Update dependencies for linux 4.4 and mark as broken where source code
needs updating.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 47700
2015-12-02 22:19:31 +00:00
Hauke Mehrtens
949d7fc378 kernel: fix menu for scsi-tape
this should be placed under the block menu entry, this fixes r47482.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 47503
2015-11-18 20:31:23 +00:00
Hauke Mehrtens
d42669bf33 kernel: support for scsi tape devices
Support for scsi tape devices as kernel module.

This allow to use scsi tape devices in openwrt.

Signed-off-by: Giuseppe Magnotta <giuseppe.magnotta@gmail.com>
[moved to block.mk]
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 47482
2015-11-15 22:14:45 +00:00
Zoltan Herpai
fdf3c6bf6e Newer kernels make use of libahci in ahci-platform, ie. also on non-PCI platforms. As there is no single config symbol deciding whether libahci.ko is being built or not it seems the most sensitive thing to package it in kmod-ata-core.
Signed-off-by: Daniel Golle <daniel@makrotopia.org>

SVN-Revision: 46701
2015-08-21 09:48:05 +00:00
Jonas Gorski
090686ac1f kernel: kmod-scsi-core: fix load on install
sd_mod depends on scsi_mod, but due to it being an AutoLoad and not
AutoProbe module, it was not loading when installing the package,
causing unknown symbol errors for sd_mod and anything depending on it.

Closes #14927, #18293, #19351.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 46176
2015-07-04 12:52:57 +00:00
Jonas Gorski
a0c49ef46f generic: add linux 4.1 support
Boot tested: http://pastebin.com/L6aAb9xj

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
[jogo:
  update to 4.1 final
  add patches added since submission
  delete patches applied in later rcs
  restore commit messages in 220-gc-sections and 304-mips_disable_fpu
  fix 050-backport_netfilter_rtcache to match new API
  update inlined dma ops with upstream changes
  add missing config symbols
  enabled CONFIG_MULTIUSER
  update kmod defintions for 4.1
]
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 46112
2015-06-22 12:27:59 +00:00
Imre Kaloz
8de815c4e7 modules: package the mvebu ahci driver
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 45394
2015-04-12 15:02:43 +00:00
John Crispin
2f0b826b81 modules: make ahci-platform depend on TARGET_ipq806x
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 44534
2015-02-25 12:01:19 +00:00
John Crispin
3f22244009 modules: add ahci-platform
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 44524
2015-02-24 12:00:16 +00:00
John Crispin
7068b7ed1c oxnas: build S-ATA driver as a module
From: Daniel Golle <daniel@makrotopia.org>

SVN-Revision: 43665
2014-12-12 16:17:13 +00:00
John Crispin
f12f4074af kernel: make most modules use AutoProbe
now that we have modprobe we can set more than half of the modules to AutoProbe

Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 38021
2013-09-17 21:45:17 +00:00
Luka Perkov
e4c837f6d6 kernel: fix imx sata module
The imx sata module has only been backported to imx6 target. This change will
fix buildbot errors due to missing patches in other targets. Keep this until
all targets use kernel version with imx sata support in them.

Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 37950
2013-09-11 22:08:46 +00:00
Luka Perkov
a43c2d4e6f kernel: add imx sata module
Signed-off-by: Tim Harvey <tharvey@gateworks.com>

SVN-Revision: 37937
2013-09-10 22:26:37 +00:00
Luka Perkov
aa81b9ed5f kernel: be consistent with formatting style
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 37545
2013-07-26 01:09:50 +00:00
Jonas Gorski
eaadc5c4f9 kernel: move xor into its own package
xor.ko is needed by btrfs in 3.10+, so split it out into its own
package. Make it hidden as it does not provide any functionality on its
own.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 37395
2013-07-18 13:08:33 +00:00
Jonas Gorski
050061a565 kernel: split out lib-raid6
raid_pq.ko is needed by btrfs in 3.10+, so split it out into its own
package. Make it hidden as it does not provide any functionality on its
own.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 37394
2013-07-18 13:08:31 +00:00
Jonas Gorski
69de869b0f kernel: kmod-dm depends on crypto
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 37393
2013-07-18 13:08:29 +00:00
Jonas Gorski
5b931b9ec0 kernel: drop kmod-ata-sis
it was broken since 2.6.21, evidently nobody uses it and we can just
remove it.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 37391
2013-07-18 13:08:23 +00:00
Felix Fietkau
c38b7b3913 kernel: make libsas depend on x86
It is only used by one driver that already depends on x86. Disabling it
prevents a few kilobytes of bloat from leaking into all targets via
CONFIG_BLK_DEV_BSG

Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 37254
2013-07-11 20:56:22 +00:00
John Crispin
4ebf19b48f packages: clean up the package folder
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 37007
2013-06-21 16:54:37 +00:00