]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit52960f0ffe12643fb645a7722244daa997117176
tree813d910f021053a6b858eb267554508401d275d8
parent1026518a80fd263f00a62ccee87214905a97b047
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