File eciadsl-kernel-header.patch of Package eciadsl-usermode
--- pusb-linux.c
+++ pusb-linux.c
@@ -29,7 +29,6 @@
#include <string.h>
#include "pusb-linux.h"
-#include <asm/page.h>
struct pusb_endpoint_t
{
@@ -349,8 +348,8 @@
{
bulk.ep = ep;
bulk.len = size;
- if (bulk.len > PAGE_SIZE)
- bulk.len = PAGE_SIZE;
+ if (bulk.len > getpagesize())
+ bulk.len = getpagesize();
bulk.timeout = timeout;
bulk.data = buf;