Re: [PATCHv5 1/1] uartclk value from serial_core exposed to sysfs

2012-09-05 Thread Tomas Hlavacek
Hello Greg,

On Thu, Sep 6, 2012 at 1:42 AM, Greg KH  wrote:
> On Thu, Sep 06, 2012 at 01:16:56AM +0200, Tomas Hlavacek wrote:
>> Added file /sys/devices/.../tty/ttySX/uartclk to allow reading
>> uartclk value in struct uart_port in serial_core via sysfs.
>>
>> tty_register_device() has been generalized and refactored in order
>> to add support for setting drvdata and attribute_group to the device.
>>
>> Signed-off-by: Tomas Hlavacek 
>> ---
>>  Documentation/ABI/testing/sysfs-tty |9 ++
>>  drivers/tty/serial/serial_core.c|   36 -
>>  drivers/tty/tty_io.c|   59 
>> +--
>>  include/linux/tty.h |4 +++
>>  4 files changed, 104 insertions(+), 4 deletions(-)
>>
>> diff --git a/Documentation/ABI/testing/sysfs-tty 
>> b/Documentation/ABI/testing/sysfs-tty
>> index b138b66..2f10855 100644
>
> Odd, what tree did you make this against?  It doesn't apply at all, even
> if I mess with it to try a --3way merge, it still throws up a ton of
> conflicts.
>
> Care to do it against my tty-next branch in git?

I did it wrong obviously. Sorry. I am resending it (it is going to be
against tty-next branch in
git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty.git, I hope
it is right this time).

Tomas
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: [PATCHv5 1/1] uartclk value from serial_core exposed to sysfs

2012-09-05 Thread Greg KH
On Thu, Sep 06, 2012 at 01:16:56AM +0200, Tomas Hlavacek wrote:
> Added file /sys/devices/.../tty/ttySX/uartclk to allow reading
> uartclk value in struct uart_port in serial_core via sysfs.
> 
> tty_register_device() has been generalized and refactored in order
> to add support for setting drvdata and attribute_group to the device.
> 
> Signed-off-by: Tomas Hlavacek 
> ---
>  Documentation/ABI/testing/sysfs-tty |9 ++
>  drivers/tty/serial/serial_core.c|   36 -
>  drivers/tty/tty_io.c|   59 
> +--
>  include/linux/tty.h |4 +++
>  4 files changed, 104 insertions(+), 4 deletions(-)
> 
> diff --git a/Documentation/ABI/testing/sysfs-tty 
> b/Documentation/ABI/testing/sysfs-tty
> index b138b66..2f10855 100644

Odd, what tree did you make this against?  It doesn't apply at all, even
if I mess with it to try a --3way merge, it still throws up a ton of
conflicts.

Care to do it against my tty-next branch in git?

thanks,

greg k-h
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: [PATCHv5 1/1] uartclk value from serial_core exposed to sysfs

2012-09-05 Thread Greg KH
On Thu, Sep 06, 2012 at 01:16:56AM +0200, Tomas Hlavacek wrote:
 Added file /sys/devices/.../tty/ttySX/uartclk to allow reading
 uartclk value in struct uart_port in serial_core via sysfs.
 
 tty_register_device() has been generalized and refactored in order
 to add support for setting drvdata and attribute_group to the device.
 
 Signed-off-by: Tomas Hlavacek tmshl...@gmail.com
 ---
  Documentation/ABI/testing/sysfs-tty |9 ++
  drivers/tty/serial/serial_core.c|   36 -
  drivers/tty/tty_io.c|   59 
 +--
  include/linux/tty.h |4 +++
  4 files changed, 104 insertions(+), 4 deletions(-)
 
 diff --git a/Documentation/ABI/testing/sysfs-tty 
 b/Documentation/ABI/testing/sysfs-tty
 index b138b66..2f10855 100644

Odd, what tree did you make this against?  It doesn't apply at all, even
if I mess with it to try a --3way merge, it still throws up a ton of
conflicts.

Care to do it against my tty-next branch in git?

thanks,

greg k-h
--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: [PATCHv5 1/1] uartclk value from serial_core exposed to sysfs

2012-09-05 Thread Tomas Hlavacek
Hello Greg,

On Thu, Sep 6, 2012 at 1:42 AM, Greg KH gre...@linuxfoundation.org wrote:
 On Thu, Sep 06, 2012 at 01:16:56AM +0200, Tomas Hlavacek wrote:
 Added file /sys/devices/.../tty/ttySX/uartclk to allow reading
 uartclk value in struct uart_port in serial_core via sysfs.

 tty_register_device() has been generalized and refactored in order
 to add support for setting drvdata and attribute_group to the device.

 Signed-off-by: Tomas Hlavacek tmshl...@gmail.com
 ---
  Documentation/ABI/testing/sysfs-tty |9 ++
  drivers/tty/serial/serial_core.c|   36 -
  drivers/tty/tty_io.c|   59 
 +--
  include/linux/tty.h |4 +++
  4 files changed, 104 insertions(+), 4 deletions(-)

 diff --git a/Documentation/ABI/testing/sysfs-tty 
 b/Documentation/ABI/testing/sysfs-tty
 index b138b66..2f10855 100644

 Odd, what tree did you make this against?  It doesn't apply at all, even
 if I mess with it to try a --3way merge, it still throws up a ton of
 conflicts.

 Care to do it against my tty-next branch in git?

I did it wrong obviously. Sorry. I am resending it (it is going to be
against tty-next branch in
git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty.git, I hope
it is right this time).

Tomas
--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/