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)
commit6633fb83f1faddbfcac09e35edcae96bd0468335
treeba39949a787a88b931e60f6d6cfd73db74c7109a
parenta876a33d2a1102f99fc782fefb784f4dd4841d8c
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: 195aae321c82 ("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