Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 6723
b: refs/heads/master
c: 05743d1
h: refs/heads/master
i:
  6721: 3f210a4
  6719: 2a392a6
v: v3
  • Loading branch information
Tobias Klauser authored and Jeff Garzik committed Jun 28, 2005
1 parent 0f8c95d commit 27ab4b8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 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: 070d01651296d3c87bca94f3b1313447e9e06c2f
refs/heads/master: 05743d165be9f0293b4ff67f4e1cf3724eb13e1f
7 changes: 2 additions & 5 deletions trunk/drivers/net/wireless/ipw2100.c
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,7 @@ that only one external action is invoked at a time.
#include <linux/netdevice.h>
#include <linux/ethtool.h>
#include <linux/pci.h>
#include <linux/dma-mapping.h>
#include <linux/proc_fs.h>
#include <linux/skbuff.h>
#include <asm/uaccess.h>
Expand Down Expand Up @@ -6423,10 +6424,6 @@ static struct net_device *ipw2100_alloc_device(
return dev;
}



#define PCI_DMA_32BIT 0x00000000ffffffffULL

static int ipw2100_pci_init_one(struct pci_dev *pci_dev,
const struct pci_device_id *ent)
{
Expand Down Expand Up @@ -6480,7 +6477,7 @@ static int ipw2100_pci_init_one(struct pci_dev *pci_dev,
pci_set_master(pci_dev);
pci_set_drvdata(pci_dev, priv);

err = pci_set_dma_mask(pci_dev, PCI_DMA_32BIT);
err = pci_set_dma_mask(pci_dev, DMA_32BIT_MASK);
if (err) {
printk(KERN_WARNING DRV_NAME
"Error calling pci_set_dma_mask.\n");
Expand Down

0 comments on commit 27ab4b8

Please sign in to comment.