Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 132061
b: refs/heads/master
c: 8b794b1
h: refs/heads/master
i:
  132059: 6a2f295
v: v3
  • Loading branch information
Maciej Sosnowski authored and Dan Williams committed Mar 4, 2009
1 parent bbbd69d commit 6d75cce
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: ea9c717d0148d4194f9bd04ecfa6b59b20fc0a08
refs/heads/master: 8b794b141c633083408d0bfb2229b3406d0ebf99
7 changes: 7 additions & 0 deletions trunk/drivers/dma/ioat_dma.c
Original file line number Diff line number Diff line change
Expand Up @@ -1659,6 +1659,13 @@ struct ioatdma_device *ioat_dma_probe(struct pci_dev *pdev,
" %d channels, device version 0x%02x, driver version %s\n",
device->common.chancnt, device->version, IOAT_DMA_VERSION);

if (!device->common.chancnt) {
dev_err(&device->pdev->dev,
"Intel(R) I/OAT DMA Engine problem found: "
"zero channels detected\n");
goto err_setup_interrupts;
}

err = ioat_dma_setup_interrupts(device);
if (err)
goto err_setup_interrupts;
Expand Down

0 comments on commit 6d75cce

Please sign in to comment.