Re: linux-2.4.0-prerelease-ac6 compile errors

From: Bill Nottingham (notting@redhat.com)
Date: Thu Jan 04 2001 - 18:46:23 EST


Ignacio Monge (ignaciomonge@navegalia.com) 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 majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sun Jan 07 2001 - 21:00:20 EST