Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 404
b: refs/heads/master
c: e5695f0
h: refs/heads/master
v: v3
  • Loading branch information
chas williams authored and David S. Miller committed Apr 25, 2005
1 parent 83263fc commit f033a82
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 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: 56cb515628e6a831bb76783f282a71f7285dad33
refs/heads/master: e5695f0800f8450d9a48efb1424918d18093b00b
3 changes: 2 additions & 1 deletion trunk/drivers/atm/he.c
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@
#include <linux/sched.h>
#include <linux/timer.h>
#include <linux/interrupt.h>
#include <linux/dma-mapping.h>
#include <asm/io.h>
#include <asm/byteorder.h>
#include <asm/uaccess.h>
Expand Down Expand Up @@ -371,7 +372,7 @@ he_init_one(struct pci_dev *pci_dev, const struct pci_device_id *pci_ent)

if (pci_enable_device(pci_dev))
return -EIO;
if (pci_set_dma_mask(pci_dev, HE_DMA_MASK) != 0) {
if (pci_set_dma_mask(pci_dev, DMA_32BIT_MASK) != 0) {
printk(KERN_WARNING "he: no suitable dma available\n");
err = -EIO;
goto init_one_failure;
Expand Down
2 changes: 0 additions & 2 deletions trunk/drivers/atm/he.h
Original file line number Diff line number Diff line change
Expand Up @@ -380,8 +380,6 @@ struct he_vcc
#define PCI_VENDOR_ID_FORE 0x1127
#define PCI_DEVICE_ID_FORE_HE 0x400

#define HE_DMA_MASK 0xffffffff

#define GEN_CNTL_0 0x40
#define INT_PROC_ENBL (1<<25)
#define SLAVE_ENDIAN_MODE (1<<16)
Expand Down

0 comments on commit f033a82

Please sign in to comment.