diff options
Diffstat (limited to 'drivers/atm/firestream.c')
-rw-r--r-- | drivers/atm/firestream.c | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/drivers/atm/firestream.c b/drivers/atm/firestream.c index 7f7ec288824d..d40605c1af73 100644 --- a/drivers/atm/firestream.c +++ b/drivers/atm/firestream.c | |||
@@ -33,6 +33,7 @@ | |||
33 | #include <linux/kernel.h> | 33 | #include <linux/kernel.h> |
34 | #include <linux/mm.h> | 34 | #include <linux/mm.h> |
35 | #include <linux/pci.h> | 35 | #include <linux/pci.h> |
36 | #include <linux/poison.h> | ||
36 | #include <linux/errno.h> | 37 | #include <linux/errno.h> |
37 | #include <linux/atm.h> | 38 | #include <linux/atm.h> |
38 | #include <linux/atmdev.h> | 39 | #include <linux/atmdev.h> |
@@ -754,7 +755,7 @@ static void process_txdone_queue (struct fs_dev *dev, struct queue *q) | |||
754 | fs_kfree_skb (skb); | 755 | fs_kfree_skb (skb); |
755 | 756 | ||
756 | fs_dprintk (FS_DEBUG_ALLOC, "Free trans-d: %p\n", td); | 757 | fs_dprintk (FS_DEBUG_ALLOC, "Free trans-d: %p\n", td); |
757 | memset (td, 0x12, sizeof (struct FS_BPENTRY)); | 758 | memset (td, ATM_POISON_FREE, sizeof(struct FS_BPENTRY)); |
758 | kfree (td); | 759 | kfree (td); |
759 | break; | 760 | break; |
760 | default: | 761 | default: |
@@ -951,7 +952,7 @@ static int fs_open(struct atm_vcc *atm_vcc) | |||
951 | it most likely that the chip will notice it. It also prevents us | 952 | it most likely that the chip will notice it. It also prevents us |
952 | from having to wait for completion. On the other hand, we may | 953 | from having to wait for completion. On the other hand, we may |
953 | need to wait for completion anyway, to see if it completed | 954 | need to wait for completion anyway, to see if it completed |
954 | succesfully. */ | 955 | successfully. */ |
955 | 956 | ||
956 | switch (atm_vcc->qos.aal) { | 957 | switch (atm_vcc->qos.aal) { |
957 | case ATM_AAL2: | 958 | case ATM_AAL2: |
@@ -1657,9 +1658,10 @@ static int __devinit fs_init (struct fs_dev *dev) | |||
1657 | func_enter (); | 1658 | func_enter (); |
1658 | pci_dev = dev->pci_dev; | 1659 | pci_dev = dev->pci_dev; |
1659 | 1660 | ||
1660 | printk (KERN_INFO "found a FireStream %d card, base %08lx, irq%d.\n", | 1661 | printk (KERN_INFO "found a FireStream %d card, base %16llx, irq%d.\n", |
1661 | IS_FS50(dev)?50:155, | 1662 | IS_FS50(dev)?50:155, |
1662 | pci_resource_start(pci_dev, 0), dev->pci_dev->irq); | 1663 | (unsigned long long)pci_resource_start(pci_dev, 0), |
1664 | dev->pci_dev->irq); | ||
1663 | 1665 | ||
1664 | if (fs_debug & FS_DEBUG_INIT) | 1666 | if (fs_debug & FS_DEBUG_INIT) |
1665 | my_hd ((unsigned char *) dev, sizeof (*dev)); | 1667 | my_hd ((unsigned char *) dev, sizeof (*dev)); |