linux/drivers/net/ethernet/cortina
Linus Walleij cedca41801 net: gemini: Look up L3 maxlen from table
The code to calculate the hardware register enumerator
for the maximum L3 length isn't entirely simple to read.
Use the existing defines and rewrite the function into a
table look-up.

Acked-by: Michał Mirosław <mirq-linux@rere.qmqm.pl>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
2018-07-12 17:39:15 -07:00
..
gemini.c net: gemini: Look up L3 maxlen from table 2018-07-12 17:39:15 -07:00
gemini.h
Kconfig
Makefile