device: add support for configuring device link speed/duplex
authorFelix Fietkau <nbd@nbd.name>
Mon, 2 Aug 2021 20:48:44 +0000 (22:48 +0200)
committerFelix Fietkau <nbd@nbd.name>
Mon, 2 Aug 2021 20:48:46 +0000 (22:48 +0200)
commit1eb0fafaa9865b729509a7d47ecf1f05c2c0595c
treed1c89dafedf33e0ef2ccfcf07d19c9465ba02222
parent94170ae24bc96aa988eb901f19cce2aebdb046f5
device: add support for configuring device link speed/duplex

The 'speed' option can be set to the speed in Mbps
The 'duplex' option can be 1 or 0 for full or half duplex

Signed-off-by: Felix Fietkau <nbd@nbd.name>
device.c
device.h
system-linux.c