Messages in this thread | | | Date | Wed, 11 Jul 2012 22:27:36 +0800 | From | Jiang Liu <> | Subject | Re: [RFC PATCH 01/14] PCI: add pcie_flags into struct pci_dev to cache PCIe capabilities register |
| |
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
| |