Re: [PATCH 2.6] Altix serial driver
From: Chris Wedgwood (cw_at_f00f.org)
Date: 06/28/04
- Previous message: David Gibson: "Re: [PATCH] kill mm_struct.used_hugetlb"
- Maybe in reply to: Pat Gefre: "[PATCH 2.6] Altix serial driver"
- Next in thread: Russell King: "Re: [PATCH 2.6] Altix serial driver"
- Reply: Russell King: "Re: [PATCH 2.6] Altix serial driver"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Sun, 27 Jun 2004 18:44:43 -0700 To: Erik Jacobson <erikj@subway.americas.sgi.com>, Christoph Hellwig <hch@infradead.org>, Jesse Barnes <jbarnes@engr.sgi.com>, Andrew Morton <akpm@osdl.org>, Pat Gefre <pfg@sgi.com>, linux-kernel@vger.kernel.org
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/
- Previous message: David Gibson: "Re: [PATCH] kill mm_struct.used_hugetlb"
- Maybe in reply to: Pat Gefre: "[PATCH 2.6] Altix serial driver"
- Next in thread: Russell King: "Re: [PATCH 2.6] Altix serial driver"
- Reply: Russell King: "Re: [PATCH 2.6] Altix serial driver"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|