On Wed, Dec 20, 2023 at 03:28:32PM -0500, Esther Shimanovich wrote: > + > +/* > + * We also need to relabel the root port as a consequence of changing > + * the JHL6540's PCIE hierarchy. > + */ > +static void carbon_X1_fixup_rootport_not_removable(struct pci_dev *dev) > +{ > + if (!dmi_match(DMI_PRODUCT_FAMILY, "ThinkPad X1 Carbon 7th") && > + !dmi_match(DMI_PRODUCT_FAMILY, "ThinkPad X1 Carbon Gen 8")) > + return; Sorry I did not mention this earlier, but can these checks also be done based on vendor/product/subvendor/subproduct IDs? Thanks. -- Dmitry