Determine minimum link settings of a pci device
int pcie_get_minimum_link(struct pci_dev * dev, enum pci_bus_speed * speed, enum pcie_link_width * width);
dev
PCI device to query
speed
storage for minimum speed
width
storage for minimum width
This function will walk up the PCI device chain and determine the minimum link width and speed of the device.