diff options
author | David Woodhouse <dwmw2@infradead.org> | 2006-10-21 11:46:04 -0400 |
---|---|---|
committer | David Woodhouse <dwmw2@infradead.org> | 2006-10-21 11:46:04 -0400 |
commit | 513b046c96cc2fbce730a3474f6f7ff0c4fdd05c (patch) | |
tree | e8006368b6f643067486f92405a404757807d6da /drivers/char/synclink.c | |
parent | 82810b7b6cc7a74c68881a13b0eb66c7a6370fcc (diff) | |
parent | c7a3bd177f248d01ee18a01d22048c80e071c331 (diff) |
Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6
Diffstat (limited to 'drivers/char/synclink.c')
-rw-r--r-- | drivers/char/synclink.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/drivers/char/synclink.c b/drivers/char/synclink.c index 38d94987de83..06784adcc35c 100644 --- a/drivers/char/synclink.c +++ b/drivers/char/synclink.c | |||
@@ -63,7 +63,6 @@ | |||
63 | #define MAX_PCI_DEVICES 10 | 63 | #define MAX_PCI_DEVICES 10 |
64 | #define MAX_TOTAL_DEVICES 20 | 64 | #define MAX_TOTAL_DEVICES 20 |
65 | 65 | ||
66 | #include <linux/config.h> | ||
67 | #include <linux/module.h> | 66 | #include <linux/module.h> |
68 | #include <linux/errno.h> | 67 | #include <linux/errno.h> |
69 | #include <linux/signal.h> | 68 | #include <linux/signal.h> |
@@ -134,8 +133,8 @@ static MGSL_PARAMS default_params = { | |||
134 | }; | 133 | }; |
135 | 134 | ||
136 | #define SHARED_MEM_ADDRESS_SIZE 0x40000 | 135 | #define SHARED_MEM_ADDRESS_SIZE 0x40000 |
137 | #define BUFFERLISTSIZE (PAGE_SIZE) | 136 | #define BUFFERLISTSIZE 4096 |
138 | #define DMABUFFERSIZE (PAGE_SIZE) | 137 | #define DMABUFFERSIZE 4096 |
139 | #define MAXRXFRAMES 7 | 138 | #define MAXRXFRAMES 7 |
140 | 139 | ||
141 | typedef struct _DMABUFFERENTRY | 140 | typedef struct _DMABUFFERENTRY |
@@ -1699,11 +1698,10 @@ static void mgsl_isr_transmit_dma( struct mgsl_struct *info ) | |||
1699 | * | 1698 | * |
1700 | * irq interrupt number that caused interrupt | 1699 | * irq interrupt number that caused interrupt |
1701 | * dev_id device ID supplied during interrupt registration | 1700 | * dev_id device ID supplied during interrupt registration |
1702 | * regs interrupted processor context | ||
1703 | * | 1701 | * |
1704 | * Return Value: None | 1702 | * Return Value: None |
1705 | */ | 1703 | */ |
1706 | static irqreturn_t mgsl_interrupt(int irq, void *dev_id, struct pt_regs * regs) | 1704 | static irqreturn_t mgsl_interrupt(int irq, void *dev_id) |
1707 | { | 1705 | { |
1708 | struct mgsl_struct * info; | 1706 | struct mgsl_struct * info; |
1709 | u16 UscVector; | 1707 | u16 UscVector; |