[lkml]   [2004]   [Jun]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    Patch in this message
    SubjectRe: [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;
    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.

    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to
    More majordomo info at
    Please read the FAQ at

     \ /
      Last update: 2005-03-22 14:04    [W:0.032 / U:5.144 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site