Re: [patch 00/10] ioctls: Convert ten architectures to asm-generic/ioctls.h

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Arnd Bergmann
Date: Friday, August 20, 2010 - 3:22 pm

On Friday 20 August 2010 23:14:01 Jeff Mahoney wrote:

Note that AFAICT there is not a single device driver that implements
the {set,get}_termiox functions, but enablign it does add extra code.

Alan added the infrastructure two years ago (see below), but it
seems we never adopted the use, or all the drivers using it were
already phased out again in the meantime.

I very much welcome making all architectures use the asm-generic/ioctls.h
file, that's why I added it in the first place. Whether or not we
actually want to have termiox support enabled without any drivers
using it is a separate question, but this would be a good time to
answer it.

	Arnd

---
commit 1d65b4a088de407e99714fdc27862449db04fb5c
Author: Alan Cox <alan@redhat.com>
Date:   Mon Oct 13 10:38:18 2008 +0100

    tty: Add termiox
    
    We need a way to describe the various additional modes and flow control
    features that random weird hardware shows up and software such as wine
    wants to emulate as Windows supports them.
    
    TCGETX/TCSETX and the termiox ioctl are a SYS5 extension that we might as
    well adopt. This patches adds the structures and the basic ioctl interfaces
    when the TCGETX etc defines are added for an architecture. Drivers wishing
    to use this stuff need to add new methods.
    
    Signed-off-by: Alan Cox <alan@redhat.com>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [patch 00/10] ioctls: Convert ten architectures to asm ..., Arnd Bergmann, (Fri Aug 20, 3:22 pm)
Re: [patch 02/10] ioctl: Use asm-generic/ioctls.h on avr32 ..., Haavard Skinnemoen, (Mon Aug 30, 5:27 am)
Re: [patch 01/10] ioctl: Use asm-generic/ioctls.h on arm ( ..., Russell King - ARM Linux, (Wed Sep 1, 12:21 am)