linux-mips
[Top] [All Lists]

Re: [pnx833x_port]: device name prefix - ttyS or ttySA?

To: Florian Fainelli <florian@openwrt.org>
Subject: Re: [pnx833x_port]: device name prefix - ttyS or ttySA?
From: Ihar Hrachyshka <ihar.hrachyshka@gmail.com>
Date: Tue, 13 Jan 2009 20:15:12 +0200
Cc: linux-mips@linux-mips.org
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=Rh5iKykZkzkGf+gn8VustrI+zNR4eBFUFTiFIKFUvgw=; b=SBUh1dn3zCrDr7Yg+ayQAFM1z5N7bYUA/1e4XFAqPCQJuUIN55arbC4DEFDnpFsAI3 05rrEI76RpouRTxvTdeEvgqZA5kkaNB/uZcAEpFfvQkYz4z8ZNArF1ZYVACE/JenyAIq ucGE4qxqwOAoVuaH64sF4kX9jCAJLslGPcXXU=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=M+TUkasBx1T0HJKu1eS+ey4vs7YgCC5vf9/YkJczR1axjcp5YoXOcfvCG2F+58FYrD ZRBr912srQWfzu4G2MLH84pciglF8/dkwQdwSTI5Z6dkULilY2IDZXBq6acfqbCrN0x3 4z5t/fRLsETkJzUNQrZdFtm/gI9jOaWzWYX0E=
In-reply-to: <200901131830.32900.florian@openwrt.org>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <1231859270.25974.32.camel@EPBYMINW0568> <200901131830.32900.florian@openwrt.org>
Sender: linux-mips-bounce@linux-mips.org
On Tue, Jan 13, 2009 at 7:30 PM, Florian Fainelli <florian@openwrt.org> wrote:
> Hi,
>
> Le Tuesday 13 January 2009 16:07:50 Ihar Hrachyshka, vous avez écrit :
>> In 'drivers/serial/pnx833x_port.c' we define the prefix for UART serial
>> device as "ttyS". Anyway, we use major:minor numbers for SA1100 serial
>> driver (that are 204:5). Why don't we use "ttySA" prefix then? That's
>> what different embedded build systems expect for populating /dev (f.e.
>> buildroot).
>
> In my experience, everything that is not ttyS is a bit confusing either when
> creating the devices in the roots, or when using the serial console in the
> kernel command line. So I will vote for ttyS.

The problem is that use-case with generic 8250 and board specific
serial drivers both enabled is not a fantasy. So we need to
differentiate between them.

>
> My 2 cents.
> --
> Best regards, Florian Fainelli
> Email : florian@openwrt.org
> http://openwrt.org
> -------------------------------
>

<Prev in Thread] Current Thread [Next in Thread>