Skip to content
Commit e1487888 authored by Chris Brandt's avatar Chris Brandt Committed by David S. Miller
Browse files

net: ethernet: renesas: sh_eth: add POST registers for rz



Due to a mistake in the hardware manual, the FWSLC and POST1-4 registers
were not documented and left out of the driver for RZ/A making the CAM
feature non-operational.
Additionally, when the offset values for POST1-4 are left blank, the driver
attempts to set them using an offset of 0xFFFF which can cause a memory
corruption or panic.

This patch fixes the panic and properly enables CAM.

Reported-by: default avatarDaniel Palmer <daniel@0x0f.com>
Signed-off-by: default avatarChris Brandt <chris.brandt@renesas.com>
Acked-by: default avatarSergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent c2f57fb9
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment