Re: Linux 2.4.19-pre5-ac2: 8253xutl.c compile error

From: Eyal Lebedinsky (eyal@eyal.emu.id.au)
Date: Thu Apr 04 2002 - 18:21:09 EST


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)) {

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sun Apr 07 2002 - 22:00:15 EST