diff options
author | Ben Widawsky <ben.widawsky@intel.com> | 2021-06-17 17:30:09 -0700 |
---|---|---|
committer | Dan Williams <dan.j.williams@intel.com> | 2021-06-17 17:37:18 -0700 |
commit | 4ad6181e4b216ed0cb52f45d3c6d2c70c8ae9243 (patch) | |
tree | 84540b2a362acd770bfbd091005f0aec9f0f9660 /drivers/cxl/pci.h | |
parent | 3e23d17ce1980c7cbd9426a3764eef7d7bcd443f (diff) |
cxl/pci: Rename CXL REGLOC ID
The current naming is confusing and wrong. The Register Locator is
identified by the DSVSEC identifier, not an offset.
Cc: Dan Williams <dan.j.williams@intel.com>
Signed-off-by: Ben Widawsky <ben.widawsky@intel.com>
Link: https://lore.kernel.org/r/20210618003009.956929-1-ben.widawsky@intel.com
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'drivers/cxl/pci.h')
-rw-r--r-- | drivers/cxl/pci.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/cxl/pci.h b/drivers/cxl/pci.h index af3ec078cf6c..dad7a831f65f 100644 --- a/drivers/cxl/pci.h +++ b/drivers/cxl/pci.h @@ -13,7 +13,7 @@ #define PCI_DVSEC_VENDOR_ID_CXL 0x1E98 #define PCI_DVSEC_ID_CXL 0x0 -#define PCI_DVSEC_ID_CXL_REGLOC_OFFSET 0x8 +#define PCI_DVSEC_ID_CXL_REGLOC_DVSEC_ID 0x8 #define PCI_DVSEC_ID_CXL_REGLOC_BLOCK1_OFFSET 0xC /* BAR Indicator Register (BIR) */ |