Commit graph

39 commits

Author SHA1 Message Date
Sukru Senli
68f6cbc200 port-management: populate ports from db only if ethernetPortOrder is given 2022-09-09 09:45:42 +02:00
Sukru Senli
68d3ed8556 Revert "port-management: populate ports from db only if ethernetPortOrder is given"
This reverts commit e901bc12ba.
2022-09-09 09:45:31 +02:00
Sukru Senli
e901bc12ba port-management: populate ports from db only if ethernetPortOrder is given 2022-09-09 09:45:17 +02:00
Sukru Senli
3c46f47c36 port-management: support getting port speed from device-tree 2022-08-25 09:07:32 +02:00
Sukru Senli
ce077af70f port-management: inclide /lib/network 2022-03-22 14:03:46 +01:00
Sukru Senli
3d545d9945 port-management: set speed based on capability 2022-03-17 10:56:46 +01:00
Sukru Senli
431d1fbf34 port-management: populate ports config from device-tree if db does not exist 2022-01-27 14:55:41 +01:00
Erik Karlsson
5d6c215f23 port-management: Fix failing uci-defaults script
Remove leftover debug printout that was causing uci-defaults script to
fail at first boot due populate_config() returning non-zero.
2021-02-06 10:08:44 +00:00
Ronny Nilsson
c3dd0a996b base-files: move db to etc
Due to read only rootfs the /lib/db will move into /etc.
2020-09-07 12:27:43 +02:00
Sukru Senli
1fd62bbfa2 port-management: remove unused functions 2020-06-14 18:27:48 +02:00
Sukru Senli
696b4b063a port-management: move port population to uci-defaults 2020-03-29 13:51:24 +02:00
Sukru Senli
8660069566 port-management: move port population to uci-defaults 2020-03-29 13:50:48 +02:00
Sukru Senli
bcce414686 port-management: remove sfp management 2020-03-28 15:47:11 +01:00
Sukru Senli
579757f4d9 port-management: call db with -q 2020-03-28 15:45:13 +01:00
Sukru Senli
81841777b9 port-management: populate with correct option 2020-03-28 15:31:04 +01:00
Sukru Senli
5557c69ec4 port-management: granularize uci config 2020-03-28 15:26:45 +01:00
Jakob Olsson
047e004f92 port_management: add a boot section to init.d script restarting wan
Issue with uplink LED not being brough up on boot
after earlier fix preventing restart of all
ports on every reload
2019-08-30 10:40:57 +02:00
Jakob Olsson
cd097820bc port_management: pass cfg name to set_port_speed #1059 #1060 2019-08-15 11:06:40 +02:00
Sukru Senli
3475bc4aba port-management: set uplink for wan port by default 2018-02-07 12:02:54 +01:00
Sukru Senli
d187b85f13 port-management: strip out hw specific port functions; they are moved to /lib/network/port.sh 2018-01-03 17:19:37 +01:00
Sukru Senli
77e04ec08b port-management: adapt to new output format of ethctl media-type call 2018-01-02 18:19:43 +01:00
Sukru Senli
6d37d875fb do not use /lib/network/config.sh directly, instead include /lib/network 2017-12-28 10:23:12 +01:00
Reidar Cederqvist
79a8179842 port_management: fix for eg400, need testing 2017-09-05 15:32:33 +02:00
Sukru Senli
325d978d02 port_management: configure only if the necessary tools exist 2017-03-23 10:05:12 +01:00
Reidar Cederqvist
74f3be12e2 split out sfp to its own init.d file fix #10536 2016-10-27 17:42:14 +02:00
Reidar Cederqvist
858b4bdf90 changed the init order of layer2 and port-mgmt scripts 2016-10-19 14:31:46 +02:00
Reidar Cederqvist
e08ad6c969 fixed some bugs in port_management init.d script
fixed the sfp_flag function and added back the ethswctl way to set
gig speed on ports
2016-09-29 17:12:46 +02:00
Reidar Cederqvist
31ad15f4eb fixed port-management and layer2interface init.d scripts
updated the layer2_interface_etherrnet to use new version of
get_port_number and made a total overhaul of port_management init.d
scripot
2016-09-29 16:02:02 +02:00
Reidar Cederqvist
1e63b8cd4e removed AUTO from valid sfp speed options 2016-09-28 16:39:35 +02:00
Reidar Cederqvist
192c397493 in port_management added a loop thats populate the ports config with sfpports from db
and added a function that sets the speed on the sfp from config on restart
2016-09-21 11:32:03 +02:00
Sukru Senli
a2220489b3 port_management: populate ports config if it has invalid config 2016-04-19 15:29:34 +02:00
Reidar Cederqvist
90f6688de8 port-management: made pause frame default 1 on WAN 2015-09-15 14:31:20 +02:00
Reidar Cederqvist
a9581a9087 port-management: addded name section to ethport 2015-09-15 14:25:10 +02:00
Reidar Cederqvist
07180b9d61 fix bug: 2015-09-15 10:55:06 +02:00
Reidar Cederqvist
031dc23c7d fix bug: removed content from ports config file and fixed port-management Makefile 2015-09-15 10:37:49 +02:00
Reidar Cederqvist
161d08a943 fix missing code 2015-09-14 16:02:16 +02:00
Reidar Cederqvist
a1317950f0 added support for setting pauseframes and autogeneration of ports config refs#7808 2015-09-11 09:47:33 +02:00
Sukru Senli
469f039e56 improved port management script 2015-09-09 11:06:20 +02:00
Sukru Senli
743f5b1a90 initial port management package 2015-09-09 10:47:04 +02:00