linux-mips
[Top] [All Lists]

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

To: Ihar Hrachyshka <ihar.hrachyshka@gmail.com>
Subject: Re: [pnx833x_port]: device name prefix - ttyS or ttySA?
From: Florian Fainelli <florian@openwrt.org>
Date: Tue, 13 Jan 2009 18:30:31 +0100
Cc: linux-mips@linux-mips.org
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:from:to:subject:date :user-agent:cc:references:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:message-id; bh=16FP2KSxRW74YuLo3Fr9ke/aMPgHh8JgsuvF94kVkCs=; b=qR/uuUjqkEPDmM2De0nsaQDqU5ALN2wxZeIU+8tOggoMWZhmYeByHepU+AHSMZgP3n uKHCRyaMAgqJBLrCqFxS6+3LHrnxm9vuvnqiDqA3tDt5ApK5qSOsVJ/qc+GbhAd4p4e4 A+HFp4hELaCml6v+j2BJXF8/HU4dEZxSC/v1g=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:from:to:subject:date:user-agent:cc:references:in-reply-to :mime-version:content-type:content-transfer-encoding :content-disposition:message-id; b=mleboKyxVJxUfaKsNt8nVkhnSotZAe2OGKdl5CMezKixL5aRVv6uyB2ca+YAOo5PH1 QrBROcyA7WJ1JATmvLWEs5CGOo0pwi7Mvf2g+XmG44XzlU3Hbuih9Gagd3xvinXdV1e9 0m6O4RPuA4C68FIIWyJanv6NVkZwVTp9osrxo=
In-reply-to: <1231859270.25974.32.camel@EPBYMINW0568>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <1231859270.25974.32.camel@EPBYMINW0568>
Sender: linux-mips-bounce@linux-mips.org
User-agent: KMail/1.9.9
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.

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

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