]> 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)
commit123ec9df93fe767abde72673c4991019918bfa9c
tree813d910f021053a6b858eb267554508401d275d8
parent5476d7bf9aaff2fd32ab918233b1fb2caeaa2ebc
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