public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Arnd Bergmann <arnd@arndb.de>
To: Jeff Mahoney <jeffm@suse.com>, Alan Cox <alan@lxorguk.ukuu.org.uk>
Cc: Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
	Andrew Morton <akpm@linux-foundation.org>,
	David Howells <dhowells@redhat.com>,
	Fenghua Yu <fenghua.yu@intel.com>,
	Geert Uytterhoeven <geert@linux-m68k.org>,
	"Greg Kroah-Hartman" <gregkh@suse.de>,
	Haavard Skinnemoen <hskinnemoen@atmel.com>,
	Heiko Carstens <heiko.carstens@de.ibm.com>,
	Hirokazu Takata <takata@linux-m32r.org>,
	Jesper Nilsson <jesper.nilsson@axis.com>,
	Koichi Yasutake <yasutake.koichi@jp.panasonic.com>,
	Martin Schwidefsky <schwidefsky@de.ibm.com>,
	Mikael Starvik <starvik@axis.com>,
	Roman Zippel <zippel@linux-m68k.org>,
	Russell King <linux@arm.linux.org.uk>,
	Tony Luck <tony.luck@intel.com>,
	Yoshinori Sato <ysato@users.sourceforge.jp>
Subject: Re: [patch 00/10] ioctls: Convert ten architectures to asm-generic/ioctls.h
Date: Sat, 21 Aug 2010 00:22:28 +0200	[thread overview]
Message-ID: <201008210022.28726.arnd@arndb.de> (raw)
In-Reply-To: <20100820211401.651509182@suse.com>

On Friday 20 August 2010 23:14:01 Jeff Mahoney wrote:
> - The generic list contains the termiox ioctl set. This seems to have
>   been added to x86 with the expectation that other arch maintainers
>   would add it to their own. New architectures have inherited this
>   automatically via asm-generic/ioctls.h and there isn't anything
>   inherently architecture specific about it. It's safe to just
>   add it to the affected architectures. If there is resistance to
>   this, I can submit a separate patchset to enable it on those
>   architectures and THEN apply this patchet, but it seems like a
>   waste of time.

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>


      parent reply	other threads:[~2010-08-20 22:23 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-08-20 21:14 [patch 00/10] ioctls: Convert ten architectures to asm-generic/ioctls.h Jeff Mahoney
2010-08-20 21:14 ` [patch 01/10] ioctl: Use asm-generic/ioctls.h on arm (enables termiox) Jeff Mahoney
2010-09-01  7:21   ` Russell King - ARM Linux
2010-09-01 15:01     ` Greg KH
2010-08-20 21:14 ` [patch 02/10] ioctl: Use asm-generic/ioctls.h on avr32 " Jeff Mahoney
2010-08-30 12:27   ` Haavard Skinnemoen
2010-08-20 21:14 ` [patch 03/10] ioctl: Use asm-generic/ioctls.h on cris " Jeff Mahoney
2010-08-20 21:14 ` [patch 04/10] ioctl: Use asm-generic/ioctls.h on frv " Jeff Mahoney
2010-08-20 22:24   ` Arnd Bergmann
2010-08-20 22:45     ` Jeff Mahoney
2010-08-21 10:36   ` Christoph Hellwig
2010-08-20 21:14 ` [patch 05/10] ioctl: Use asm-generic/ioctls.h on h8300 " Jeff Mahoney
2010-08-20 21:14 ` [patch 06/10] ioctl: Use asm-generic/ioctls.h on ia64 " Jeff Mahoney
2010-08-20 21:14 ` [patch 07/10] ioctl: Use asm-generic/ioctls.h on m32r " Jeff Mahoney
2010-08-20 21:14 ` [patch 08/10] ioctl: Use asm-generic/ioctls.h on m68k " Jeff Mahoney
2010-09-13 18:12   ` Geert Uytterhoeven
2010-08-20 21:14 ` [patch 09/10] ioctl: Use asm-generic/ioctls.h on mn10300 " Jeff Mahoney
2010-08-20 21:14 ` [patch 10/10] ioctl: Use asm-generic/ioctls.h on s390 " Jeff Mahoney
2010-08-20 22:22 ` Arnd Bergmann [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=201008210022.28726.arnd@arndb.de \
    --to=arnd@arndb.de \
    --cc=akpm@linux-foundation.org \
    --cc=alan@lxorguk.ukuu.org.uk \
    --cc=dhowells@redhat.com \
    --cc=fenghua.yu@intel.com \
    --cc=geert@linux-m68k.org \
    --cc=gregkh@suse.de \
    --cc=heiko.carstens@de.ibm.com \
    --cc=hskinnemoen@atmel.com \
    --cc=jeffm@suse.com \
    --cc=jesper.nilsson@axis.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux@arm.linux.org.uk \
    --cc=schwidefsky@de.ibm.com \
    --cc=starvik@axis.com \
    --cc=takata@linux-m32r.org \
    --cc=tony.luck@intel.com \
    --cc=yasutake.koichi@jp.panasonic.com \
    --cc=ysato@users.sourceforge.jp \
    --cc=zippel@linux-m68k.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox