aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/cns3xxx/base-files/etc/init.d/netdev-cpu
diff options
context:
space:
mode:
authorAdrian Schmutzler <freifunk@adrianschmutzler.de>2020-08-31 19:46:35 +0200
committerAdrian Schmutzler <freifunk@adrianschmutzler.de>2020-09-14 00:19:27 +0200
commita9790dff532e154a93b12abaeccd7889d9159791 (patch)
tree57e06c6743118d486bd3ffe4e85d0e20284abb8c /target/linux/cns3xxx/base-files/etc/init.d/netdev-cpu
parent04d3b517dc3301e0148a2ce811ffc136568b04bd (diff)
downloadupstream-a9790dff532e154a93b12abaeccd7889d9159791.tar.gz
upstream-a9790dff532e154a93b12abaeccd7889d9159791.tar.bz2
upstream-a9790dff532e154a93b12abaeccd7889d9159791.zip
cns3xxx: drop target
This target has not been updated to 5.4 yet, and the only person trying it (Koen) decided to retreat based on the following reasons: - The target is not DT-aware at all - The huge amount of effort required - The SoC itself reached EoL at Cavium for some time now - Upstream removed some important parts as it's also slowly getting EoL over there - The commercial product that used this will fade out shortly - The amount of download for this binary suggest that the target is not that popular Since nobody has picked up the work since then, and this is the last remaining 4.19-only target, finally drop it now. Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
Diffstat (limited to 'target/linux/cns3xxx/base-files/etc/init.d/netdev-cpu')
-rwxr-xr-xtarget/linux/cns3xxx/base-files/etc/init.d/netdev-cpu21
1 files changed, 0 insertions, 21 deletions
diff --git a/target/linux/cns3xxx/base-files/etc/init.d/netdev-cpu b/target/linux/cns3xxx/base-files/etc/init.d/netdev-cpu
deleted file mode 100755
index 3a2a57bc1e..0000000000
--- a/target/linux/cns3xxx/base-files/etc/init.d/netdev-cpu
+++ /dev/null
@@ -1,21 +0,0 @@
-#!/bin/sh /etc/rc.common
-
-START=99
-
-get_irq() {
- local name="$1"
- grep -m 1 "$name" /proc/interrupts | cut -d: -f1 | sed 's, *,,'
-}
-
-set_irq_affinity() {
- local name="$1"
- local val="$2"
- local irq="$(get_irq "$name")"
- [ -n "$irq" ] || return
- echo "$val" > "/proc/irq/$irq/smp_affinity"
-}
-
-start() {
- set_irq_affinity gig_switch 2
- set_irq_affinity gig_stat 2
-}