diff options
author | Dave Jiang <dave.jiang@intel.com> | 2012-12-03 16:08:37 -0700 |
---|---|---|
committer | Vinod Koul <vinod.koul@intel.com> | 2013-01-07 22:05:13 -0800 |
commit | 1a363068dcc2269931daef360ed14d2a262f19f7 (patch) | |
tree | 63893a7519328cd7312ba8d14251f5a9e3ceb605 /drivers/dma/ioat/hw.h | |
parent | 7d283397ade3c9e51de644676a6593e1f724ac00 (diff) | |
download | talos-op-linux-1a363068dcc2269931daef360ed14d2a262f19f7.tar.gz talos-op-linux-1a363068dcc2269931daef360ed14d2a262f19f7.zip |
ioat: Add alignment workaround for IVB platforms
The PCI IDs for IvyBridge IOAT DMA needs to go into a header file since
dma_v3.c looks them up for certain hardware workarounds. Need to add to the
alignment workaround for IOAT 3.2 since it wasn't fixed in IVB.
Signed-off-by: Dave Jiang <dave.jiang@intel.com>
Signed-off-by: Dan Williams <djbw@fb.com>
Diffstat (limited to 'drivers/dma/ioat/hw.h')
-rw-r--r-- | drivers/dma/ioat/hw.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/drivers/dma/ioat/hw.h b/drivers/dma/ioat/hw.h index d2ff3fda0b18..7cb74c62c719 100644 --- a/drivers/dma/ioat/hw.h +++ b/drivers/dma/ioat/hw.h @@ -35,6 +35,17 @@ #define IOAT_VER_3_0 0x30 /* Version 3.0 */ #define IOAT_VER_3_2 0x32 /* Version 3.2 */ +#define PCI_DEVICE_ID_INTEL_IOAT_IVB0 0x0e20 +#define PCI_DEVICE_ID_INTEL_IOAT_IVB1 0x0e21 +#define PCI_DEVICE_ID_INTEL_IOAT_IVB2 0x0e22 +#define PCI_DEVICE_ID_INTEL_IOAT_IVB3 0x0e23 +#define PCI_DEVICE_ID_INTEL_IOAT_IVB4 0x0e24 +#define PCI_DEVICE_ID_INTEL_IOAT_IVB5 0x0e25 +#define PCI_DEVICE_ID_INTEL_IOAT_IVB6 0x0e26 +#define PCI_DEVICE_ID_INTEL_IOAT_IVB7 0x0e27 +#define PCI_DEVICE_ID_INTEL_IOAT_IVB8 0x0e2e +#define PCI_DEVICE_ID_INTEL_IOAT_IVB9 0x0e2f + int system_has_dca_enabled(struct pci_dev *pdev); struct ioat_dma_descriptor { |