net/bnxt: add wrapper function for Thor device check
authorKalesh AP <kalesh-anakkur.purayil@broadcom.com>
Thu, 24 Oct 2019 07:44:30 +0000 (13:14 +0530)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 25 Oct 2019 17:23:23 +0000 (19:23 +0200)
commit34f2f8ad40d868ca53732b3cd833bb5140821876
tree708e9df16551f44977c2a0ff29f1d832f117cbf0
parent382e273ab6a11a0271a2430d7170e2456b4c3367
net/bnxt: add wrapper function for Thor device check

This patch adds a wrapper function bnxt_thor_device() which checks
for the pci device is Thor family.

Signed-off-by: Kalesh AP <kalesh-anakkur.purayil@broadcom.com>
Signed-off-by: Somnath Kotur <somnath.kotur@broadcom.com>
Reviewed-by: Santoshkumar Karanappa Rastapur <santosh.rastapur@broadcom.com>
drivers/net/bnxt/bnxt_ethdev.c