* prerelease-ac6 compile problem in serial.c
@ 2001-01-04 22:23 Meelis Roos
2001-01-04 22:42 ` Bill Nottingham
0 siblings, 1 reply; 2+ messages in thread
From: Meelis Roos @ 2001-01-04 22:23 UTC (permalink / raw)
To: linux-kernel
2.4.0-prerelease-ac6 doesn't compile serial on x86 with pnp enabled:
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'
---
Meelis Roos <mroos@linux.ee>
-
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/
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: prerelease-ac6 compile problem in serial.c
2001-01-04 22:23 prerelease-ac6 compile problem in serial.c Meelis Roos
@ 2001-01-04 22:42 ` Bill Nottingham
0 siblings, 0 replies; 2+ messages in thread
From: Bill Nottingham @ 2001-01-04 22:42 UTC (permalink / raw)
To: linux-kernel; +Cc: alan
Meelis Roos (mroos@linux.ee) said:
> 2.4.0-prerelease-ac6 doesn't compile serial on x86 with pnp enabled:
>
> 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'
Doh. I swear this did build when I tried it, although I don't see how.
Bill
--- 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)))
-
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/
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2001-01-04 22:42 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-01-04 22:23 prerelease-ac6 compile problem in serial.c Meelis Roos
2001-01-04 22:42 ` Bill Nottingham
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox