1 /* SPDX-License-Identifier: BSD-3-Clause
2 * Copyright(c) 2021 HiSilicon Limited
8 #define PCI_VENDOR_ID_HUAWEI 0x19e5
9 #define HISI_DMA_DEVICE_ID 0xA122
10 #define HISI_DMA_PCI_REVISION_ID_REG 0x08
11 #define HISI_DMA_REVISION_HIP08B 0x21
14 * The HIP08B(HiSilicon IP08) and later Chip(e.g. HiSilicon IP09) are DMA iEPs,
15 * they have the same pci device id but with different pci revision.
16 * Unfortunately, they have different register layouts, so the layout
17 * enumerations are defined.
20 HISI_DMA_REG_LAYOUT_INVALID = 0,
21 HISI_DMA_REG_LAYOUT_HIP08
24 #endif /* HISI_DMADEV_H */