OSDN Git Service
(root)
/
uclinux-h8
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
59f1480
)
[PATCH] synclink: remove PAGE_SIZE reference
author
Paul Fulghum
<paulkf@microgate.com>
Tue, 17 Oct 2006 07:09:27 +0000
(
00:09
-0700)
committer
Linus Torvalds
<torvalds@g5.osdl.org>
Tue, 17 Oct 2006 15:18:42 +0000
(08:18 -0700)
Remove reference to PAGE_SIZE that causes errors if PAGE_SIZE != 4096
Signed-off-by: Paul Fulghum <paulkf@microgate.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/char/synclink.c
patch
|
blob
|
history
diff --git
a/drivers/char/synclink.c
b/drivers/char/synclink.c
index
f2864cc
..
06784ad
100644
(file)
--- a/
drivers/char/synclink.c
+++ b/
drivers/char/synclink.c
@@
-133,8
+133,8
@@
static MGSL_PARAMS default_params = {
};
#define SHARED_MEM_ADDRESS_SIZE 0x40000
-#define BUFFERLISTSIZE
(PAGE_SIZE)
-#define DMABUFFERSIZE
(PAGE_SIZE)
+#define BUFFERLISTSIZE
4096
+#define DMABUFFERSIZE
4096
#define MAXRXFRAMES 7
typedef struct _DMABUFFERENTRY