net: cavium: Register driver with PCI subsys IDs
authorPrakash Brahmajyosyula <bprakash@marvell.com>
Mon, 2 Mar 2020 09:59:02 +0000 (15:29 +0530)
committerDavid S. Miller <davem@davemloft.net>
Mon, 2 Mar 2020 19:13:58 +0000 (11:13 -0800)
commitaa3afccc9adfff27dbb8f1b92912adbdffa86561
tree813d910f021053a6b858eb267554508401d275d8
parent605a9bbc7f49f1d6fb5a7f2610771573523dc324
net: cavium: Register driver with PCI subsys IDs

Across Cavium's ThunderX and Marvell's OcteonTx2 silicons
the PTP timestamping block's PCI device ID and vendor ID
have remained same but the HW architecture has changed.

Hence added PCI subsystem IDs to the device table to avoid
this driver from being probed on OcteonTx2 silicons.

Signed-off-by: Prakash Brahmajyosyula <bprakash@marvell.com>
Signed-off-by: Sunil Goutham <sgoutham@marvell.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/cavium/common/cavium_ptp.c