mirror of
https://github.com/openwrt/openwrt.git
synced 2026-10-14 08:47:51 +04:00
Allow boards to provide optional register/value pairs through the realtek,init-regs property. Apply them after the chip-specific initialization table and before configuring the external interface. Keep the property a no-op when absent. Reject malformed, oversized or non-16-bit entries, and propagate register write failures. While at it, remove a redundant trailing blank line at the end of the file. Co-authored-by: Mieczyslaw Nalewaj <namiltd@yahoo.com> Signed-off-by: Nickolay Savchenko <n.savchenko@axioma.lv> Link: https://github.com/openwrt/openwrt/pull/24305 Signed-off-by: Jonas Jelonek <jelonek.jonas@gmail.com>