[PATCH V2 0/1] net: dsa: rtl8366rb: change type of jam tables

From: Lorenzo Carletti
Date: Tue Jan 26 2021 - 22:52:23 EST


I was trying to see if there were some Intel 8051 instructions in the
jam tables with Linus Walleij, when I noticed some oddities.
This patch's aim is to make the code more consistent and more similar
to the vendor's original source.
Link to the Realtek code the actual patch is based on:
https://svn.dd-wrt.com/browser/src/linux/universal/linux-3.2/drivers/net/ethernet/raeth/rb/rtl8366rb_api.c

Changes V1 -> V2:
- Used struct array for jam tables instead of u16 matrixes
(Thanks to Vladimir Oltean <olteanv@xxxxxxxxx> for the suggestion

Lorenzo Carletti (1):
net: dsa: rtl8366rb: standardize init jam tables

drivers/net/dsa/rtl8366rb.c | 273 ++++++++++++++++++------------------
1 file changed, 139 insertions(+), 134 deletions(-)

--
2.17.1