openwrt/target/linux/generic/files/drivers/net/phy
Christian Lamparter fdd3605398 kernel: 6.1: fix swconfig not working
On 6.1 swconfig is not showing up and there's a splat:

| ------------[ cut here ]------------
| WARNING: CPU: 0 PID: 1 at genl_register_family+0xb4/0x81c
| Modules linked in:
| CPU: 0 PID: 1 Comm: swapper Not tainted 6.1.29 #0
| Hardware name: Netgear WNDR4700/WNDR4720 Series APM821XX [...]
| NIP:  c0599370 LR: c0599344 CTR: c08c9950
| REGS: c0c21cb0 TRAP: 0700   Not tainted  (6.1.29)
| MSR:  00029000 <CE,EE,ME>  CR: 48000888  XER: 00000000
|
| GPR00: c0002678 c0c21da0 c0c2cd80 [...]
| NIP [c0599370] genl_register_family+0xb4/0x81c
| LR [c0599344] genl_register_family+0x88/0x81c
| Call Trace:
| [c0c21d80] [c0c21df4] 0xc0c21df4 (unreliable)
| [c0c21e10] [c08c9988] swconfig_init+0x38/0x64
| [c0c21e30] [c0002678] do_one_initcall+0x50/0x260

This is due to it failing to register the netlink
family since changes to upstream linux in patch.

| commit 9c5d03d362519f36cd551aec596388f895c93d2d
|Author: Jakub Kicinski <kuba@kernel.org>
|Date:   Wed Aug 24 17:18:30 2022 -0700
|
|   genetlink: start to validate reserved header byte

this is fixed by adding the proper value to the introduced
"resv_start_op" parameter.

Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
2023-05-30 01:58:20 +02:00
..
b53 kernel: remove obsolete kernel version switches 2023-05-20 15:19:14 +02:00
adm6996.c target: remove obsolete kernel version switches for 4.19 2020-10-30 19:45:24 +01:00
adm6996.h treewide: replace nbd@openwrt.org with nbd@nbd.name 2016-06-07 08:58:42 +02:00
ar8216.c kernek: use struct_group to wipe ar8216 volatile priv data 2023-05-22 22:28:18 +02:00
ar8216.h kernek: use struct_group to wipe ar8216 volatile priv data 2023-05-22 22:28:18 +02:00
ar8327.c generic: fix compilation warning for ar8xxx swconfig 2022-03-27 04:51:38 +01:00
ar8327.h treewide: rename POWER_ON_STRIP register 2020-07-25 21:50:50 +02:00
ip17xx.c kernel: remove an unused callback from the ip17xx switch driver 2020-12-05 12:06:28 +01:00
psb6970.c kernel: psb6970: drop unused variable in psb6970_config_init 2023-05-12 03:15:36 +02:00
rtl8306.c generic: drop outdated kernel version switches in local drivers 2020-05-17 18:35:59 +02:00
rtl8366_smi.c generic: drop outdated kernel version switches in local drivers 2020-05-17 18:35:59 +02: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 kernel: rtl8367b: fix external interface modes 2020-06-11 21:50:01 +08:00
swconfig_leds.c kernel: refresh swconfig_leds to handle new trigger locking 2023-05-22 22:28:17 +02:00
swconfig.c kernel: 6.1: fix swconfig not working 2023-05-30 01:58:20 +02:00