diff options
| author | Fenghua Yu <fenghua.yu@intel.com> | 2024-10-18 14:37:25 -0700 |
|---|---|---|
| committer | Vinod Koul <vkoul@kernel.org> | 2024-10-21 22:32:39 +0530 |
| commit | 3e482e2840546a3ff725d5adf8d0779ac1c3cf4f (patch) | |
| tree | 872f59c12555b67a126d907f223773e251a8adfd /drivers/dma | |
| parent | e7a614cc8847f469370ea29604be966ee16f07e9 (diff) | |
| download | linux-3e482e2840546a3ff725d5adf8d0779ac1c3cf4f.tar.gz linux-3e482e2840546a3ff725d5adf8d0779ac1c3cf4f.tar.bz2 linux-3e482e2840546a3ff725d5adf8d0779ac1c3cf4f.zip | |
dmaengine: idxd: Move DSA/IAA device IDs to IDXD driver
Since the DSA/IAA device IDs are only used by the IDXD driver, there is
no need to define them as public IDs. Move their definitions to the IDXD
driver to limit their scope. This change helps reduce unnecessary
exposure of the device IDs in the global space, making the codebase
cleaner and better encapsulated.
There is no functional change.
Signed-off-by: Fenghua Yu <fenghua.yu@intel.com>
Link: https://lore.kernel.org/r/20241018213725.4167413-1-fenghua.yu@intel.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'drivers/dma')
| -rw-r--r-- | drivers/dma/idxd/registers.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/dma/idxd/registers.h b/drivers/dma/idxd/registers.h index e16dbf9ab324..c426511f2104 100644 --- a/drivers/dma/idxd/registers.h +++ b/drivers/dma/idxd/registers.h @@ -6,6 +6,10 @@ #include <uapi/linux/idxd.h> /* PCI Config */ +#define PCI_DEVICE_ID_INTEL_DSA_GNRD 0x11fb +#define PCI_DEVICE_ID_INTEL_DSA_DMR 0x1212 +#define PCI_DEVICE_ID_INTEL_IAA_DMR 0x1216 + #define DEVICE_VERSION_1 0x100 #define DEVICE_VERSION_2 0x200 |
