diff options
author | Jose Abreu <[email protected]> | 2018-04-23 09:05:15 +0100 |
---|---|---|
committer | David S. Miller <[email protected]> | 2018-04-23 12:03:50 -0400 |
commit | 5f0456b43140af9413397cc11d03d18b9f2fc2fc (patch) | |
tree | 2b6f84765c55bbe7b9ef2bf55ac050ad8f888550 /lib/clz_tab.c | |
parent | 22148df0d0bdbd5d1cca4e069e17bf49b070498f (diff) |
net: stmmac: Implement logic to automatically select HW Interface
Move all the core version detection to a common place ("hwif.c") and
implement a table which can be used to lookup the correct callbacks for
each IP version.
This simplifies the initialization flow of each IP version and eases
future implementation of new IP versions.
Signed-off-by: Jose Abreu <[email protected]>
Cc: David S. Miller <[email protected]>
Cc: Joao Pinto <[email protected]>
Cc: Vitor Soares <[email protected]>
Cc: Giuseppe Cavallaro <[email protected]>
Cc: Alexandre Torgue <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'lib/clz_tab.c')
0 files changed, 0 insertions, 0 deletions