Re: linux-2.4.0-prerelease-ac6 compile errors

2001-01-04 Thread Bill Nottingham

Ignacio Monge ([EMAIL PROTECTED]) said: 
> Problem: compile error in linux-2.4.0-prerelease-ac6

--- linux/drivers/char/serial.c.foo Thu Jan  4 17:31:43 2001
+++ linux/drivers/char/serial.c Thu Jan  4 17:32:38 2001
@@ -5184,12 +5184,12 @@
   
   for (pnp_board = pnp_devices; pnp_board->vendor; pnp_board++)
   if ((dev->vendor == pnp_board->vendor) &&
-  (dev->device == pnp_board->device))
+  (dev->device == pnp_board->function))
   break;
 
   if (pnp_board->vendor) {
   board.vendor = pnp_board->vendor;
-  board.device = pnp_board->device;
+  board.device = pnp_board->function;
   /* Special case that's more efficient to hardcode */
   if ((board.vendor == ISAPNP_VENDOR('A', 'K', 'Y') &&
board.device == ISAPNP_DEVICE(0x1021)))

Bill
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.tux.org/lkml/



linux-2.4.0-prerelease-ac6 compile errors

2001-01-04 Thread Ignacio Monge



Problem: compile error in linux-2.4.0-prerelease-ac6

System:
Intel Pentium II 233 Mhz 96 Mb RAM
Red Hat Linux System 7.0
Glibc-2.2-5
Gcc-2.95.2-12

Output error:
[...]

ld -m elf_i386  -r -o drm.o tdfx.o drmlib.a
make[4]: Saliendo directorio `/usr/src/linux/drivers/char/drm'
make[3]: Saliendo directorio `/usr/src/linux/drivers/char/drm'
make all_targets
make[3]: Cambiando a directorio `/usr/src/linux/drivers/char'
gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2
-fomit-frame-pointer -fno-strict-aliasing -pipe -mpreferred-stack-boundary=2
-march=i686-DEXPORT_SYMTAB -c serial.c
serial.c: In function `probe_serial_pnp':
serial.c:5187: structure has no member named `device'
serial.c:5192: structure has no member named `device'
make[3]: *** [serial.o] Error 1
make[3]: Saliendo directorio `/usr/src/linux/drivers/char'
make[2]: *** [first_rule] Error 2
make[2]: Saliendo directorio `/usr/src/linux/drivers/char'
make[1]: *** [_subdir_char] Error 2
make[1]: Saliendo directorio `/usr/src/linux/drivers'
make: *** [_dir_drivers] Error 2

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.tux.org/lkml/



linux-2.4.0-prerelease-ac6 compile errors

2001-01-04 Thread Ignacio Monge



Problem: compile error in linux-2.4.0-prerelease-ac6

System:
Intel Pentium II 233 Mhz 96 Mb RAM
Red Hat Linux System 7.0
Glibc-2.2-5
Gcc-2.95.2-12

Output error:
[...]

ld -m elf_i386  -r -o drm.o tdfx.o drmlib.a
make[4]: Saliendo directorio `/usr/src/linux/drivers/char/drm'
make[3]: Saliendo directorio `/usr/src/linux/drivers/char/drm'
make all_targets
make[3]: Cambiando a directorio `/usr/src/linux/drivers/char'
gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2
-fomit-frame-pointer -fno-strict-aliasing -pipe -mpreferred-stack-boundary=2
-march=i686-DEXPORT_SYMTAB -c serial.c
serial.c: In function `probe_serial_pnp':
serial.c:5187: structure has no member named `device'
serial.c:5192: structure has no member named `device'
make[3]: *** [serial.o] Error 1
make[3]: Saliendo directorio `/usr/src/linux/drivers/char'
make[2]: *** [first_rule] Error 2
make[2]: Saliendo directorio `/usr/src/linux/drivers/char'
make[1]: *** [_subdir_char] Error 2
make[1]: Saliendo directorio `/usr/src/linux/drivers'
make: *** [_dir_drivers] Error 2

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.tux.org/lkml/



Re: linux-2.4.0-prerelease-ac6 compile errors

2001-01-04 Thread Bill Nottingham

Ignacio Monge ([EMAIL PROTECTED]) said: 
 Problem: compile error in linux-2.4.0-prerelease-ac6

--- linux/drivers/char/serial.c.foo Thu Jan  4 17:31:43 2001
+++ linux/drivers/char/serial.c Thu Jan  4 17:32:38 2001
@@ -5184,12 +5184,12 @@
   
   for (pnp_board = pnp_devices; pnp_board-vendor; pnp_board++)
   if ((dev-vendor == pnp_board-vendor) 
-  (dev-device == pnp_board-device))
+  (dev-device == pnp_board-function))
   break;
 
   if (pnp_board-vendor) {
   board.vendor = pnp_board-vendor;
-  board.device = pnp_board-device;
+  board.device = pnp_board-function;
   /* Special case that's more efficient to hardcode */
   if ((board.vendor == ISAPNP_VENDOR('A', 'K', 'Y') 
board.device == ISAPNP_DEVICE(0x1021)))

Bill
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.tux.org/lkml/