diff options
Diffstat (limited to 'drivers/dma/ioat/pci.c')
-rw-r--r-- | drivers/dma/ioat/pci.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/dma/ioat/pci.c b/drivers/dma/ioat/pci.c index 130db77120aa..b979a667f501 100644 --- a/drivers/dma/ioat/pci.c +++ b/drivers/dma/ioat/pci.c | |||
@@ -210,9 +210,7 @@ static int ioat_pci_probe(struct pci_dev *pdev, const struct pci_device_id *id) | |||
210 | pci_set_drvdata(pdev, device); | 210 | pci_set_drvdata(pdev, device); |
211 | 211 | ||
212 | device->version = readb(device->reg_base + IOAT_VER_OFFSET); | 212 | device->version = readb(device->reg_base + IOAT_VER_OFFSET); |
213 | if (device->version == IOAT_VER_2_0) | 213 | if (device->version >= IOAT_VER_3_0) |
214 | err = ioat2_dma_probe(device, ioat_dca_enabled); | ||
215 | else if (device->version >= IOAT_VER_3_0) | ||
216 | err = ioat3_dma_probe(device, ioat_dca_enabled); | 214 | err = ioat3_dma_probe(device, ioat_dca_enabled); |
217 | else | 215 | else |
218 | return -ENODEV; | 216 | return -ENODEV; |