Octeontx2-af: RPM: Register driver with PCI subsys IDs
authorHariprasad Kelam <hkelam@marvell.com>
Mon, 24 Feb 2025 03:56:03 +0000 (09:26 +0530)
committerJakub Kicinski <kuba@kernel.org>
Wed, 26 Feb 2025 02:09:52 +0000 (18:09 -0800)
commitfc9167192f29485be5621e2e9c8208b717b65753
treebc247ba9f354e3de92a3abb5fc53db2f3550babd
parent287044abff8291993ce9565ac6e6a72b85e33b85
Octeontx2-af: RPM: Register driver with PCI subsys IDs

Although the PCI device ID and Vendor ID for the RPM (MAC) block
have remained the same across Octeon CN10K and the next-generation
CN20K silicon, Hardware architecture has changed (NIX mapped RPMs
and RFOE Mapped RPMs).

Add PCI Subsystem IDs to the device table to ensure that this driver
can be probed from NIX mapped RPM devices only.

Signed-off-by: Hariprasad Kelam <hkelam@marvell.com>
Link: https://patch.msgid.link/20250224035603.1220913-1-hkelam@marvell.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/marvell/octeontx2/af/cgx.c
drivers/net/ethernet/marvell/octeontx2/af/rvu.h