mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-11-10 20:48:12 +00:00
ax88179_178a: Fix endianness of pause watermark register
The 16-bit pause watermark register is little endian as described in the ASIX 4.1.0 out-of-tree driver. Correct the register byte sequence but also swap the configuration values used in the code in order to keep the current behaviour. The endianness is relevant for 16-bit writes to the register. Signed-off-by: Birger Koblitz <mail@birger-koblitz.de> Reviewed-by: Andrew Lunn <andrew@lunn.ch> Tested-by: Jianhui Xu <neuromoments@gmail.com> Link: https://patch.msgid.link/20260916-ax88179a-v12-3-60c04c9924a2@birger-koblitz.de Signed-off-by: Jakub Kicinski <kuba@kernel.org>
This commit is contained in:
parent
e3bfd25626
commit
a4e22e9253
1 changed files with 4 additions and 5 deletions
Loading…
Add table
Add a link
Reference in a new issue