Name

pcie_get_minimum_link — determine minimum link settings of a PCI device

Synopsis

int pcie_get_minimum_link (struct pci_dev * dev,
 enum pci_bus_speed * speed,
 enum pcie_link_width * width);
 

Arguments

struct pci_dev * dev

PCI device to query

enum pci_bus_speed * speed

storage for minimum speed

enum pcie_link_width * width

storage for minimum width

Description

This function will walk up the PCI device chain and determine the minimum link width and speed of the device.