]> git.baikalelectronics.ru Git - kernel.git/commit
r8152: support firmware of PHY NC for RTL8153A
authorHayes Wang <hayeswang@realtek.com>
Mon, 21 Oct 2019 03:41:13 +0000 (11:41 +0800)
committerJakub Kicinski <jakub.kicinski@netronome.com>
Tue, 22 Oct 2019 16:45:21 +0000 (09:45 -0700)
commit383c9b834dab16a8d20ddf5e0b4410531cbc8ee5
tree2ed3cb8f70ab53f40d69bc771b16945c3f14cb43
parent224a60088a40bc4ff4b66bd20e88a6db2b2d35db
r8152: support firmware of PHY NC for RTL8153A

Support the firmware of PHY NC which is used to fix the issue found
for PHY. Currently, only RTL_VER_04, RTL_VER_05, and RTL_VER_06 need
it.

The order of loading PHY firmware would be

RTL_FW_PHY_START
RTL_FW_PHY_NC
RTL_FW_PHY_STOP

The RTL_FW_PHY_START/RTL_FW_PHY_STOP are used to lock/unlock the PHY,
and set/clear the patch key from the firmware file.

Signed-off-by: Hayes Wang <hayeswang@realtek.com>
Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com>
drivers/net/usb/r8152.c