diff options
author | 2018-04-17 17:30:32 -0400 | |
---|---|---|
committer | 2018-04-18 21:00:56 -0400 | |
commit | 2953586df76e76ec2e62ed05897c1d242c06874d (patch) | |
tree | 6401718b2914f7738750240be0601ca1eacb459a /include/linux/tcp.h | |
parent | soc: ti: K2G: provide APIs to support driver probe deferral (diff) | |
download | wireguard-linux-2953586df76e76ec2e62ed05897c1d242c06874d.tar.xz wireguard-linux-2953586df76e76ec2e62ed05897c1d242c06874d.zip |
net: netcp: ethss: use macro for checking ss_version consistently
Driver currently uses macro for NU and XBE hardwrae, while other
places for older hardware such as that on K2H/K SoC (version 1.4
of the cpsw hardware, it explicitly check for the ss_version
inline. Add a new macro for version 1.4 and use it to customize
code in the driver. While at it also fix similar issue with
checking XBE version by re-using existing macro IS_SS_ID_XGBE().
Signed-off-by: Murali Karicheri <m-karicheri2@ti.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/tcp.h')
0 files changed, 0 insertions, 0 deletions