diff options
author | Artem B. Bityuckiy <dedekind@infradead.org> | 2005-07-06 10:43:18 -0400 |
---|---|---|
committer | Thomas Gleixner <tglx@mtd.linutronix.de> | 2005-07-06 13:40:38 -0400 |
commit | b3539219c9ea20ebf6a5ea3cc534f423a3607c41 (patch) | |
tree | d17c31c0eac0a7290ba5011b59a100fd9e9c9532 /drivers/net/tlan.c | |
parent | 6430a8def12edebc1c9c7c2621d33ca0e8653c33 (diff) | |
parent | a18bcb7450840f07a772a45229de4811d930f461 (diff) |
Merge with rsync://fileserver/linux
Update to 2.6.12-rc3
Diffstat (limited to 'drivers/net/tlan.c')
-rw-r--r-- | drivers/net/tlan.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/tlan.c b/drivers/net/tlan.c index cf31c0629852..942fae0f2130 100644 --- a/drivers/net/tlan.c +++ b/drivers/net/tlan.c | |||
@@ -171,6 +171,7 @@ | |||
171 | #include <linux/ioport.h> | 171 | #include <linux/ioport.h> |
172 | #include <linux/eisa.h> | 172 | #include <linux/eisa.h> |
173 | #include <linux/pci.h> | 173 | #include <linux/pci.h> |
174 | #include <linux/dma-mapping.h> | ||
174 | #include <linux/netdevice.h> | 175 | #include <linux/netdevice.h> |
175 | #include <linux/etherdevice.h> | 176 | #include <linux/etherdevice.h> |
176 | #include <linux/delay.h> | 177 | #include <linux/delay.h> |
@@ -566,7 +567,7 @@ static int __devinit TLan_probe1(struct pci_dev *pdev, | |||
566 | 567 | ||
567 | priv->adapter = &board_info[ent->driver_data]; | 568 | priv->adapter = &board_info[ent->driver_data]; |
568 | 569 | ||
569 | rc = pci_set_dma_mask(pdev, 0xFFFFFFFF); | 570 | rc = pci_set_dma_mask(pdev, DMA_32BIT_MASK); |
570 | if (rc) { | 571 | if (rc) { |
571 | printk(KERN_ERR "TLAN: No suitable PCI mapping available.\n"); | 572 | printk(KERN_ERR "TLAN: No suitable PCI mapping available.\n"); |
572 | goto err_out_free_dev; | 573 | goto err_out_free_dev; |