summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--recipes-bsp/multitech/mts-io/mts-io.mtp.init12
1 files changed, 6 insertions, 6 deletions
diff --git a/recipes-bsp/multitech/mts-io/mts-io.mtp.init b/recipes-bsp/multitech/mts-io/mts-io.mtp.init
index f247a9b..3ce08a9 100644
--- a/recipes-bsp/multitech/mts-io/mts-io.mtp.init
+++ b/recipes-bsp/multitech/mts-io/mts-io.mtp.init
@@ -5,6 +5,11 @@ lora_init() {
mts-io-sysfs store lora-reset 0
}
+eth_init() {
+ # reset eth phy
+ mts-io-sysfs store eth-reset 0
+}
+
cell_init() {
# remove /dev/modem_at[0,1] symlinks
rm -f /dev/modem_at[0,1]
@@ -16,17 +21,12 @@ cell_init() {
mts-io-sysfs store radio-power 1
}
-eth_init() {
- mts-io-sysfs store eth-enabled 0
- mts-io-sysfs store eth-enabled 1
-}
-
case $1 in
start)
echo "Loading mts-io module"
modprobe mts_io
- eth_init
lora_init
+ eth_init
cell_init &
;;