On 08/29/2013 03:26 AM, Bjorn Helgaas wrote: > The first patch fixes a Link Control issue reported by Yuval Mintz. > The rest simplify the code a bit. > > --- > > Bjorn Helgaas (4): > PCI: Allow PCIe Capability link-related register access for switches > PCI: Remove PCIe Capability version checks > PCI: Support PCIe Capability Slot registers only for ports with slots > PCI: Remove pcie_cap_has_devctl() > > > drivers/pci/access.c | 26 +++++++++++--------------- > 1 file changed, 11 insertions(+), 15 deletions(-) > Hi Bjorn, Good changes! We avoid some unnecessary hardware accesses for unavailable registers. Reviewed-By: Jiang Liu <jiang.liu@xxxxxxxxxx> -- To unsubscribe from this list: send the line "unsubscribe linux-pci" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html