Re: [RFC PATCH 01/14] PCI: add pcie_flags into struct pci_dev tocache PCIe capabilities register

From: Jiang Liu
Date: Wed Jul 11 2012 - 10:27:41 EST


On 07/11/2012 05:01 PM, Taku Izumi wrote:
>> +++ b/include/linux/pci.h
>> @@ -258,6 +258,7 @@ struct pci_dev {
>> u8 pcie_mpss:3; /* PCI-E Max Payload Size Supported */
>> u8 rom_base_reg; /* which config register controls the ROM */
>> u8 pin; /* which interrupt pin this device uses */
>> + u16 pcie_flags; /* cached PCI-E Capabilities Register */
>
> "xxx_flags" sounds like a bit flag. This variable stores a value of PCIe capability
> register, doesn't it? How about "pcie_cap_reg" ?
Hi Taku,
Good suggestion, will change it.

Thanks!
Gerry
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/