]> git.ipfire.org Git - thirdparty/openwrt.git/commit
realtek: mdio: convert to generic regmap_bulk_write() 23092/head
authorMarkus Stockhausen <markus.stockhausen@gmx.de>
Mon, 27 Apr 2026 16:58:59 +0000 (18:58 +0200)
committerHauke Mehrtens <hauke@hauke-m.de>
Fri, 1 May 2026 10:14:50 +0000 (12:14 +0200)
commitd12e654a341f0ee2e994e1587291536908c46824
tree19c6bf4c8385b3c7652846ff04d5d051b2f454f4
parentc87e07e90657950ebf1b7538f0eddecb75ca4f14
realtek: mdio: convert to generic regmap_bulk_write()

Each architecture has its own SMI address and SMI data size. Make the
current device specific coding generic by

- adding SMI start address and SMI data size to configuration structure
- moving regmap_bulk_write() over to the generic rtmdio_run_cmd()
- deleting all device specific rtmdio_xxxx_run_cmd() versions

Signed-off-by: Markus Stockhausen <markus.stockhausen@gmx.de>
Link: https://github.com/openwrt/openwrt/pull/23092
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
target/linux/realtek/files-6.18/drivers/net/mdio/mdio-realtek-otto.c