difos/target/linux/generic/files/drivers/net/phy
Mathias Kresin 35ab804ea7 kernel: swconfig: make compatible with kernel 5.2
Since kernel 5.2 within netlink messages the NLA_F_NESTED nested flag is
validated. But swconfig/swlib doesn't set the flag for
SWITCH_ATTR_OP_VALUE_PORTS related netlink messages and assigning ports
to vlans via

  swconfig dev switch0 vlan 1 set ports '0 1 2 3 4 6t'

Errors put with "Failed to set attribute: Invalid input data or
parameter".

Relax the validation rules and use the deprecated functions, to use the
same level of validation as it was till kernel 5.1. Depending on who has
swconfig related netlink messages implemented, there might be more
broken tools out there and we should keep backward compatibility if
possible.

Signed-off-by: Mathias Kresin <dev@kresin.me>
Tested-by: Rafał Miłecki <rafal@milecki.pl>
2020-02-12 22:15:14 +01:00
..
b53 swconfig: fix Broadcom b53 support 2020-01-12 14:12:50 +01:00
adm6996.c generic: provide get_port_stats() on adm6996 switches 2017-09-01 09:30:35 +02:00
adm6996.h treewide: replace nbd@openwrt.org with nbd@nbd.name 2016-06-07 08:58:42 +02:00
ar8216.c generic ar8xxx: increase VLAN table for AR83x7 2019-11-30 16:49:05 +01:00
ar8216.h generic ar8xxx: increase VLAN table for AR83x7 2019-11-30 16:49:05 +01:00
ar8327.c generic ar8xxx: increase VLAN table for AR83x7 2019-11-30 16:49:05 +01:00
ar8327.h kernel: ar83xx: Add support for three GMAC's connection 2018-12-06 08:15:27 +01:00
ip17xx.c ip17xx: correct aneg_done return value 2017-06-07 11:06:29 +02:00
mvsw61xx.c kernel: add mv88e61xx switch port-mirroring support 2018-12-16 00:57:20 +01:00
mvsw61xx.h kernel: add mv88e61xx switch port-mirroring support 2018-12-16 00:57:20 +01:00
mvswitch.c mvswitch: fix autonegotiation issue 2017-06-07 11:06:12 +02:00
mvswitch.h treewide: replace nbd@openwrt.org with nbd@nbd.name 2016-06-07 08:58:42 +02:00
psb6970.c kernel: update phy drivers for 4.9 2017-02-03 12:35:44 +01:00
rtl8306.c kernel: generic: Add kernel 4.14 support 2017-12-16 22:11:19 +01:00
rtl8366_smi.c generic: rtl836x: support defered probe on mdio-bus 2018-11-26 12:05:46 +01:00
rtl8366_smi.h kernel: rtl8366-smi: add Realtek switch management via mii-bus 2018-06-25 20:52:18 +02:00
rtl8366rb.c generic: rtl836x: support defered probe on mdio-bus 2018-11-26 12:05:46 +01:00
rtl8366s.c generic: rtl836x: support defered probe on mdio-bus 2018-11-26 12:05:46 +01:00
rtl8367.c generic: rtl836x: support defered probe on mdio-bus 2018-11-26 12:05:46 +01:00
rtl8367b.c generic: rtl8367b: make it possible to specify cpu_port via DT 2018-11-26 12:05:46 +01:00
swconfig.c kernel: swconfig: make compatible with kernel 5.2 2020-02-12 22:15:14 +01:00
swconfig_leds.c kernel: Make the patches apply on top of 4.19 2018-12-15 14:28:48 +01:00