Re: 2.4.50 - 8250_cs does NOT work

DevilKin (devilkin-lkml@blindguardian.org)
Wed, 2 Oct 2002 14:23:27 +0200


On Wednesday 02 October 2002 13:48, DevilKin wrote:
> make[3]: Entering directory `/usr/src/linux-2.5/drivers/serial'
> gcc -Wp,-MD,./.8250.o.d -D__KERNEL__ -I/usr/src/linux-2.5/include -Wall
> -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer
> -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2
> -march=i686 -I/usr/src/linux-2.5/arch/i386/mach-generic -nostdinc
> -iwithprefix include -DKBUILD_BASENAME=8250 -DEXPORT_SYMTAB -c -o
> 8250.o 8250.c
> drivers/serial/8250.c: In function `serial8250_set_mctrl':
> drivers/serial/8250.c:1061: `ALPHA_KLUDGE_MCR' undeclared (first use in
> this function)
> drivers/serial/8250.c:1061: (Each undeclared identifier is reported only
> once drivers/serial/8250.c:1061: for each function it appears in.)

Fixed this one by re-introducing
#include <linux/serialP.h>

> drivers/serial/8250.c: In function `serial8250_isa_init_ports':
> drivers/serial/8250.c:1701: structure has no member named `io_type'
> gcc -Wp,-MD,./.8250_pci.o.d -D__KERNEL__ -I/usr/src/linux-2.5/include
> -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer
> -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2
> -march=i686 -I/usr/src/linux-2.5/arch/i386/mach-generic -nostdinc
> -iwithprefix include -DKBUILD_BASENAME=8250_pci -c -o 8250_pci.o
> 8250_pci.c
> ld -m elf_i386 -r -o built-in.o core.o 8250.o 8250_pci.o

This one was my mistake...

I'm happy to report that my modem now works as it should :-))

Thanks!

DK

-
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/