Messages in this thread Patch in this message | | | Date | Sun, 27 Jun 2004 18:44:43 -0700 | From | Chris Wedgwood <> | Subject | Re: [PATCH 2.6] Altix serial driver |
| |
On Mon, Jun 28, 2004 at 02:14:39AM +0100, Russell King wrote:
> It's the way its always been done, and the way the tty layer works. > You register a range of ttys that you're going to be driving, and > you own those ttys whether or not you actually have hardware for > them.
How about this (yes, it's a hack but it's really not that bad and will get things working until we can fix this up in 2.7.x):
===== drivers/serial/8250.c 1.55 vs edited ===== --- 1.55/drivers/serial/8250.c 2004-04-17 02:48:54 -07:00 +++ edited/drivers/serial/8250.c 2004-06-27 18:42:55 -07:00 @@ -2175,6 +2175,12 @@ { int ret, i; +#if defined(__ia64__) && defined(ia64_platform_is) + /* SN2 cannot have 8250-like serial ports. */ + if (ia64_platform_is("sn2")) + return -ENODEV; +#endif + printk(KERN_INFO "Serial: 8250/16550 driver $Revision: 1.90 $ " "%d ports, IRQ sharing %sabled\n", (int) UART_NR, share_irqs ? "en" : "dis");
Completely untested of source, and we might want to move things around a bit if early console stuff causes problems.
--cw - 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/
| |