[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAHbNUh0NBVEBJbSG7UWgnHbORgbKCrA_74=jiArSvv5jaFk1SQ@mail.gmail.com>
Date: Fri, 27 Dec 2013 15:47:31 +0530
From: Tushar Behera <tushar.behera@...aro.org>
To: Greg KH <gregkh@...uxfoundation.org>
Cc: linux-serial <linux-serial@...r.kernel.org>,
lkml <linux-kernel@...r.kernel.org>, jslaby <jslaby@...e.cz>,
Patch Tracking <patches@...aro.org>,
linux-samsung-soc <linux-samsung-soc@...r.kernel.org>,
ben@...tec.co.uk, Thomas Abraham <thomas.abraham@...aro.org>,
Tomasz Figa <t.figa@...sung.com>,
Sachin Kamat <sachin.kamat@...aro.org>,
heiko <heiko@...ech.de>, Kgene Kim <kgene.kim@...sung.com>
Subject: Re: [PATCH] serial: samsung: Remove hard-coded major/minor numbers
On 27 December 2013 12:08, Greg KH <gregkh@...uxfoundation.org> wrote:
> On Fri, Dec 27, 2013 at 12:00:20PM +0530, Tushar Behera wrote:
>> On 27 December 2013 10:48, Greg KH <gregkh@...uxfoundation.org> wrote:
>> > On Fri, Dec 27, 2013 at 10:37:28AM +0530, Tushar Behera wrote:
[ ... ]
>> >> @@ -951,8 +949,6 @@ static struct uart_driver s3c24xx_uart_drv = {
>> >> .nr = CONFIG_SERIAL_SAMSUNG_UARTS,
>> >> .cons = S3C24XX_SERIAL_CONSOLE,
>> >> .dev_name = S3C24XX_SERIAL_NAME,
>> >> - .major = S3C24XX_SERIAL_MAJOR,
>> >> - .minor = S3C24XX_SERIAL_MINOR,
>> >
>> > Doesn't this break existing systems and configurations that are
>> > expecting 204:64 as the location of this serial port?
>> >
>>
>> I tested this on Exynos4210-Origen, Exynos5250-Arndale board, it works
>> fine there. I haven't tested on any older boards.
>
> How did it work? You are relying on some userspace tools to do this
> properly, right? What about systems without those specific tools?
>
Enabling CONFIG_DEVTMPFS, all the /dev/ttySAC<n> nodes are generated
and the appropriate console is specified through command line
argument.
>> > Why change this one and not the amba-pl011 driver?
>> >
>>
>> I could only test this driver, so thought of changing this rather than
>> modifying amba-pl011 driver. I don't have any other reason.
>
> Please get the samsung driver maintainer to agree with this and sign off
> on it before trying to get it merged again.
>
> greg k-h
Adding a few other developers who have contributed to this file or are
working on different Samsung platforms to get an ack/sign-off.
--
Tushar Behera
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists