]> www.infradead.org Git - users/hch/misc.git/commitdiff
thunderbolt: Use Linux Foundation IDs for XDomain discovery
authorMika Westerberg <mika.westerberg@linux.intel.com>
Mon, 11 Aug 2025 07:02:34 +0000 (10:02 +0300)
committerMika Westerberg <mika.westerberg@linux.intel.com>
Wed, 13 Aug 2025 08:07:30 +0000 (10:07 +0200)
There are other vendors now that have their own USB4 host router
hardware so using the Intel donated IDs may confuse users. For this
reason switch to use USB IDs provided by the Linux Foundation for
XDomain discovery.

Link: https://lore.kernel.org/linux-usb/20250722175026.1994846-1-Raju.Rangoju@amd.com/
Cc: Raju Rangoju <Raju.Rangoju@amd.com>
Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Reviewed-by: Mario Limonciello (AMD) <superm1@kernel.org>>
Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>
drivers/thunderbolt/xdomain.c

index b0630e6d94726f9069c20017876ec7e212071686..fffa28cc491d3e4fcea213d93d5183171d8ee2b6 100644 (file)
@@ -2562,10 +2562,9 @@ int tb_xdomain_init(void)
         * Rest of the properties are filled dynamically based on these
         * when the P2P connection is made.
         */
-       tb_property_add_immediate(xdomain_property_dir, "vendorid",
-                                 PCI_VENDOR_ID_INTEL);
-       tb_property_add_text(xdomain_property_dir, "vendorid", "Intel Corp.");
-       tb_property_add_immediate(xdomain_property_dir, "deviceid", 0x1);
+       tb_property_add_immediate(xdomain_property_dir, "vendorid", 0x1d6b);
+       tb_property_add_text(xdomain_property_dir, "vendorid", "Linux");
+       tb_property_add_immediate(xdomain_property_dir, "deviceid", 0x0004);
        tb_property_add_immediate(xdomain_property_dir, "devicerv", 0x80000100);
 
        xdomain_property_block_gen = get_random_u32();