lkml.org 
[lkml]   [2002]   [Apr]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectRe: Linux 2.4.19-pre5-ac2: 8253xutl.c compile error
Alan Cox wrote:
> Linux 2.4.19pre5-ac2
> o SAB8253 series wan drivers (Joachim Martillo)

gcc -D__KERNEL__ -I/data2/usr/local/src/linux-2.4-pre-ac/include -Wall
-Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer
-fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2
-march=i686 -malign-functions=4 -DMODULE -DMODVERSIONS -include
/data2/usr/local/src/linux-2.4-pre-ac/include/linux/modversions.h -I.
-DKBUILD_BASENAME=8253xutl -c -o 8253xutl.o 8253xutl.c
8253xutl.c: In function `sab8253x_wait_until_sent':
8253xutl.c:1347: structure has no member named `counter'
make[4]: *** [8253xutl.o] Error 1
make[4]: Leaving directory
`/data2/usr/local/src/linux-2.4-pre-ac/drivers/net/wan/8253x'

I simply deleted the offending line since I do not use this module, and
it looks like the right thing too (monkey sees monkey does).

--
Eyal Lebedinsky (eyal@eyal.emu.id.au) <http://samba.org/eyal/>--- linux/drivers/net/wan/8253x/8253xutl.c.orig Fri Apr 5 08:52:00 2002
+++ linux/drivers/net/wan/8253x/8253xutl.c Fri Apr 5 08:55:47 2002
@@ -1344,7 +1344,6 @@
while ((Sab8253xCountTransmit(port) > 0) || !port->all_sent)
{
current->state = TASK_INTERRUPTIBLE;
- current->counter = 0;
schedule_timeout(char_time);
if (signal_pending(current))
{
\
 
 \ /
  Last update: 2005-03-22 13:22    [from the cache]
©2003-2011 Jasper Spaans. Advertise on this site