On Tue, Mar 13, 2018 at 5:58 PM, Andy Shevchenko <andy.shevche...@gmail.com> wrote: > On Tue, Mar 13, 2018 at 3:42 AM, Liang, Kan <kan.li...@linux.intel.com> wrote: > >> +#define SKX_CAPID6 0x9c
>> + pci_read_config_dword(dev, SKX_CAPID6, &val); Moreover, this is too non-flexible. Can't you find a capability based on CAP ID + offset? -- With Best Regards, Andy Shevchenko