2002-12-07 05:19:01

by Larry McVoy

[permalink] [raw]
Subject: one more in cyclades

make -f scripts/Makefile.build obj=drivers/char
gcc -Wp,-MD,drivers/char/.consolemap_deftbl.o.d -D__KERNEL__ -Iinclude -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=athlon -Iarch/i386/mach-generic -fomit-frame-pointer -nostdinc -iwithprefix include -DKBUILD_BASENAME=consolemap_deftbl -DKBUILD_MODNAME=consolemap_deftbl -c -o drivers/char/consolemap_deftbl.o drivers/char/consolemap_deftbl.c
gcc -Wp,-MD,drivers/char/.defkeymap.o.d -D__KERNEL__ -Iinclude -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=athlon -Iarch/i386/mach-generic -fomit-frame-pointer -nostdinc -iwithprefix include -DKBUILD_BASENAME=defkeymap -DKBUILD_MODNAME=defkeymap -c -o drivers/char/defkeymap.o drivers/char/defkeymap.c
gcc -Wp,-MD,drivers/char/.cyclades.o.d -D__KERNEL__ -Iinclude -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=athlon -Iarch/i386/mach-generic -fomit-frame-pointer -nostdinc -iwithprefix include -DKBUILD_BASENAME=cyclades -DKBUILD_MODNAME=cyclades -c -o drivers/char/cyclades.o drivers/char/cyclades.c
drivers/char/cyclades.c:887: parse error before `}'
make[2]: *** [drivers/char/cyclades.o] Error 1
make[1]: *** [drivers/char] Error 2
make: *** [drivers] Error 2


2002-12-09 23:53:47

by Henrique Oliveira

[permalink] [raw]
Subject: [DRIVER PATCH] drivers/char/cyclades.c (it was Re: one more in cyclades)

Hi,

This is the patch to fix some compilation problems this driver was having. It
is against the kernel 2.5.50 driver. Please apply it for the next release.

thank you
Henrique

--------------------------------------------------------------------------------------
--- cyclades.c.old Mon Dec 9 15:48:53 2002
+++ cyclades.c Mon Dec 9 15:49:44 2002
@@ -12,7 +12,7 @@
*
* Initially written by Randolph Bentson <[email protected]>.
* Modified and maintained by Marcio Saito <[email protected]>.
- * Currently maintained by Ivan Passos <[email protected]>.
+ * Currently maintained by Henrique Gobbi <[email protected]>.
*
* For Technical support and installation problems, please send e-mail
* to [email protected].
@@ -884,7 +884,7 @@


static int cyz_timeron = 0;
static struct timer_list cyz_timerlist = TIMER_INITIALIZER(cyz_poll, 0, 0);
-};
+
#else /* CONFIG_CYZ_INTR */
static void cyz_rx_restart(unsigned long);
static struct timer_list cyz_rx_full_timer[NR_PORTS];
---------------------------------------------------------------------------------------

On Saturday 07 December 2002 05:26 am, Larry McVoy wrote:
> make -f scripts/Makefile.build obj=drivers/char
> gcc -Wp,-MD,drivers/char/.consolemap_deftbl.o.d -D__KERNEL__ -Iinclude
> -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing
> -fno-common -pipe -mpreferred-stack-boundary=2 -march=athlon
> -Iarch/i386/mach-generic -fomit-frame-pointer -nostdinc -iwithprefix
> include -DKBUILD_BASENAME=consolemap_deftbl
> -DKBUILD_MODNAME=consolemap_deftbl -c -o drivers/char/consolemap_deftbl.o
> drivers/char/consolemap_deftbl.c gcc -Wp,-MD,drivers/char/.defkeymap.o.d
> -D__KERNEL__ -Iinclude -Wall -Wstrict-prototypes -Wno-trigraphs -O2
> -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2
> -march=athlon -Iarch/i386/mach-generic -fomit-frame-pointer -nostdinc
> -iwithprefix include -DKBUILD_BASENAME=defkeymap
> -DKBUILD_MODNAME=defkeymap -c -o drivers/char/defkeymap.o
> drivers/char/defkeymap.c gcc -Wp,-MD,drivers/char/.cyclades.o.d
> -D__KERNEL__ -Iinclude -Wall -Wstrict-prototypes -Wno-trigraphs -O2
> -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2
> -march=athlon -Iarch/i386/mach-generic -fomit-frame-pointer -nostdinc
> -iwithprefix include -DKBUILD_BASENAME=cyclades
> -DKBUILD_MODNAME=cyclades -c -o drivers/char/cyclades.o
> drivers/char/cyclades.c drivers/char/cyclades.c:887: parse error before `}'
> make[2]: *** [drivers/char/cyclades.o] Error 1
> make[1]: *** [drivers/char] Error 2
> make: *** [drivers] Error 2
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to [email protected]
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/


Attachments:
cyclades.c-2.5.50.patch (746.00 B)