Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 1089
b: refs/heads/master
c: 10a87fc
h: refs/heads/master
i:
  1087: 7cd58ae
v: v3
  • Loading branch information
Tobias Klauser authored and Jeff Garzik committed May 13, 2005
1 parent eae330c commit e2ff24e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: cb199d42e18466e471fa46dc53413402a4ae93e7
refs/heads/master: 10a87fcf40ce8cee1e85d936cd6d7662943c804e
3 changes: 2 additions & 1 deletion trunk/drivers/net/tulip/winbond-840.c
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,7 @@ static int full_duplex[MAX_UNITS] = {-1, -1, -1, -1, -1, -1, -1, -1};
#include <linux/slab.h>
#include <linux/interrupt.h>
#include <linux/pci.h>
#include <linux/dma-mapping.h>
#include <linux/netdevice.h>
#include <linux/etherdevice.h>
#include <linux/skbuff.h>
Expand Down Expand Up @@ -394,7 +395,7 @@ static int __devinit w840_probe1 (struct pci_dev *pdev,

irq = pdev->irq;

if (pci_set_dma_mask(pdev,0xFFFFffff)) {
if (pci_set_dma_mask(pdev, DMA_32BIT_MASK)) {
printk(KERN_WARNING "Winbond-840: Device %s disabled due to DMA limitations.\n",
pci_name(pdev));
return -EIO;
Expand Down

0 comments on commit e2ff24e

Please sign in to comment.