]> git.baikalelectronics.ru Git - kernel.git/commit
r8152: fix the maximum number of PLA bp for RTL8153C
authorHayes Wang <hayeswang@realtek.com>
Thu, 19 Aug 2021 03:05:37 +0000 (11:05 +0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 19 Aug 2021 11:19:30 +0000 (12:19 +0100)
commit1791c4055d372801456b8b1159a962dafee2cf10
treeba39949a787a88b931e60f6d6cfd73db74c7109a
parente1ef3a75b53ceace3c988b4aa46a4f34be3b8973
r8152: fix the maximum number of PLA bp for RTL8153C

The maximum PLA bp number of RTL8153C is 16, not 8. That is, the
bp 0 ~ 15 are at 0xfc28 ~ 0xfc46, and the bp_en is at 0xfc48.

Fixes: 4f086ebc8ece ("r8152: support new chips")
Signed-off-by: Hayes Wang <hayeswang@realtek.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/usb/r8152.c