Re: 2.6.1-mm4
From: Andrew Morton <hidden>
Date: 2004-01-18 05:55:15
Also in:
lkml
"J.A. Magallon" [off-list ref] wrote:
On 01.16, Andrew Morton wrote: > > ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.1/2.6.1-mm4/ > > Net driver problem: werewolf:/etc# modprobe --verbose 3c59x insmod /lib/modules/2.6.1-jam4/kernel/drivers/net/3c59x.ko FATAL: Error inserting 3c59x (/lib/modules/2.6.1-jam4/kernel/drivers/net/3c59x.ko): Invalid argument
hmm, cute.
--- 25/drivers/net/3c59x.c~3c59x-modprobe-fix 2004-01-17 21:49:14.000000000 -0800
+++ 25-akpm/drivers/net/3c59x.c 2004-01-17 21:49:18.000000000 -0800@@ -211,11 +211,11 @@ /* Set the copy breakpoint for the copy-only-tiny-frames scheme. Setting to > 1512 effectively disables this feature. */ #ifndef __arm__ -static const int rx_copybreak = 200; +static int rx_copybreak = 200; #else /* ARM systems perform better by disregarding the bus-master transfer capability of these cards. -- rmk */ -static const int rx_copybreak = 1513; +static int rx_copybreak = 1513; #endif /* Allow setting MTU to a larger size, bypassing the normal ethernet setup. */ static const int mtu = 1500;
_