Skip to contentSkip to conversation

synclink remove PAGE_SIZE reference

PATCH New Paul Fulghum 1 participant 1 message Oct 10, 2006 Char and misc drivers

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 synclink remove PAGE_SIZE reference

Remove reference to PAGE_SIZE that causes
errors if PAGE_SIZE != 4096

drivers/char/synclink.c +2 -2
@@ -135,8 +135,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