From: Greg KH <greg@kroah.com>
To: Arnd Bergmann <arnd@arndb.de>
Cc: Greg KH <gregkh@suse.de>, Jiri Slaby <jslaby@suse.cz>,
Alan Cox <alan@lxorguk.ukuu.org.uk>,
linux-kernel@vger.kernel.org,
Rogier Wolff <R.E.Wolff@bitwizard.nl>,
"Michael H. Warfield" <mhw@wittsend.com>,
Geert Uytterhoeven <geert@linux-m68k.org>
Subject: [PATCH 1/2] TTY: create /tty and move the tty core files there
Date: Tue, 21 Sep 2010 16:08:04 -0700 [thread overview]
Message-ID: <20100921230804.GB32346@kroah.com> (raw)
In-Reply-To: <20100921230733.GA32346@kroah.com>
The tty code should be at the root of the tree, as everyone
needs it, and it's always built, and it's not really a "driver"
Based on work done by Arnd Bergmann <arnd@arndb.de>
Cc: Arnd Bergmann <arnd@arndb.de>
Cc: Jiri Slaby <jslaby@suse.cz>
Cc: Alan Cox <alan@lxorguk.ukuu.org.uk>,
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
---
Makefile | 2 +-
drivers/char/Makefile | 4 +---
tty/Makefile | 8 ++++++++
{drivers/char => tty}/n_tty.c | 0
{drivers/char => tty}/tty_audit.c | 0
{drivers/char => tty}/tty_buffer.c | 0
{drivers/char => tty}/tty_io.c | 0
{drivers/char => tty}/tty_ioctl.c | 0
{drivers/char => tty}/tty_ldisc.c | 0
{drivers/char => tty}/tty_mutex.c | 0
{drivers/char => tty}/tty_port.c | 0
11 files changed, 10 insertions(+), 4 deletions(-)
create mode 100644 tty/Makefile
rename {drivers/char => tty}/n_tty.c (100%)
rename {drivers/char => tty}/tty_audit.c (100%)
rename {drivers/char => tty}/tty_buffer.c (100%)
rename {drivers/char => tty}/tty_io.c (100%)
rename {drivers/char => tty}/tty_ioctl.c (100%)
rename {drivers/char => tty}/tty_ldisc.c (100%)
rename {drivers/char => tty}/tty_mutex.c (100%)
rename {drivers/char => tty}/tty_port.c (100%)
diff --git a/Makefile b/Makefile
index 3133a57..0867819 100644
--- a/Makefile
+++ b/Makefile
@@ -483,7 +483,7 @@ scripts: scripts_basic include/config/auto.conf include/config/tristate.conf
# Objects we will link into vmlinux / subdirs we need to visit
init-y := init/
-drivers-y := drivers/ sound/ firmware/
+drivers-y := tty/ drivers/ sound/ firmware/
net-y := net/
libs-y := lib/
core-y := usr/
diff --git a/drivers/char/Makefile b/drivers/char/Makefile
index dc96416..c999eac 100644
--- a/drivers/char/Makefile
+++ b/drivers/char/Makefile
@@ -7,9 +7,8 @@
#
FONTMAPFILE = cp437.uni
-obj-y += mem.o random.o tty_io.o n_tty.o tty_ioctl.o tty_ldisc.o tty_buffer.o tty_port.o
+obj-y += mem.o random.o
-obj-y += tty_mutex.o
obj-$(CONFIG_LEGACY_PTYS) += pty.o
obj-$(CONFIG_UNIX98_PTYS) += pty.o
obj-y += misc.o
@@ -17,7 +16,6 @@ obj-$(CONFIG_VT) += vt_ioctl.o vc_screen.o selection.o keyboard.o
obj-$(CONFIG_BFIN_JTAG_COMM) += bfin_jtag_comm.o
obj-$(CONFIG_CONSOLE_TRANSLATIONS) += consolemap.o consolemap_deftbl.o
obj-$(CONFIG_HW_CONSOLE) += vt.o defkeymap.o
-obj-$(CONFIG_AUDIT) += tty_audit.o
obj-$(CONFIG_MAGIC_SYSRQ) += sysrq.o
obj-$(CONFIG_MVME147_SCC) += generic_serial.o vme_scc.o
obj-$(CONFIG_MVME162_SCC) += generic_serial.o vme_scc.o
diff --git a/tty/Makefile b/tty/Makefile
new file mode 100644
index 0000000..3862838
--- /dev/null
+++ b/tty/Makefile
@@ -0,0 +1,8 @@
+obj-y += tty_io.o
+obj-y += n_tty.o
+obj-y += tty_ioctl.o
+obj-y += tty_ldisc.o
+obj-y += tty_buffer.o
+obj-y += tty_port.o
+obj-y += tty_mutex.o
+obj-$(CONFIG_AUDIT) += tty_audit.o
diff --git a/drivers/char/n_tty.c b/tty/n_tty.c
similarity index 100%
rename from drivers/char/n_tty.c
rename to tty/n_tty.c
diff --git a/drivers/char/tty_audit.c b/tty/tty_audit.c
similarity index 100%
rename from drivers/char/tty_audit.c
rename to tty/tty_audit.c
diff --git a/drivers/char/tty_buffer.c b/tty/tty_buffer.c
similarity index 100%
rename from drivers/char/tty_buffer.c
rename to tty/tty_buffer.c
diff --git a/drivers/char/tty_io.c b/tty/tty_io.c
similarity index 100%
rename from drivers/char/tty_io.c
rename to tty/tty_io.c
diff --git a/drivers/char/tty_ioctl.c b/tty/tty_ioctl.c
similarity index 100%
rename from drivers/char/tty_ioctl.c
rename to tty/tty_ioctl.c
diff --git a/drivers/char/tty_ldisc.c b/tty/tty_ldisc.c
similarity index 100%
rename from drivers/char/tty_ldisc.c
rename to tty/tty_ldisc.c
diff --git a/drivers/char/tty_mutex.c b/tty/tty_mutex.c
similarity index 100%
rename from drivers/char/tty_mutex.c
rename to tty/tty_mutex.c
diff --git a/drivers/char/tty_port.c b/tty/tty_port.c
similarity index 100%
rename from drivers/char/tty_port.c
rename to tty/tty_port.c
--
1.7.1
next prev parent reply other threads:[~2010-09-21 23:08 UTC|newest]
Thread overview: 55+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-08-29 21:06 [RFC 0/5] tty: move stuff around Arnd Bergmann
2010-08-29 21:06 ` [PATCH 1/5] tty: move tty layer code to drivers/tty Arnd Bergmann
2010-08-29 21:06 ` [PATCH 2/5] tty/vt: move files to drivers/tty/vt/ Arnd Bergmann
2010-08-29 21:06 ` [PATCH 3/5] tty/hvc: move files to drivers/tty/hvc Arnd Bergmann
2010-08-29 21:06 ` [PATCH 4/5] tty/hw: move hardware drivers to drivers/tty/hw Arnd Bergmann
2010-08-29 21:51 ` Mike Frysinger
2010-08-30 8:55 ` Arnd Bergmann
2010-08-30 10:54 ` Alan Cox
2010-08-30 12:28 ` Arnd Bergmann
2010-08-30 14:56 ` Mike Frysinger
2010-08-30 15:25 ` Arnd Bergmann
2010-08-30 15:26 ` Mike Frysinger
2010-08-29 21:06 ` [PATCH 5/5] tty: rearrange Kconfig structure Arnd Bergmann
2010-08-29 23:18 ` [RFC 0/5] tty: move stuff around Alan Cox
2010-08-30 11:37 ` Arnd Bergmann
2010-08-30 11:55 ` Jiri Slaby
2010-08-30 12:15 ` Arnd Bergmann
2010-08-30 13:00 ` Alan Cox
2010-08-30 21:04 ` Arnd Bergmann
2010-08-30 18:47 ` Greg KH
2010-08-30 21:33 ` Arnd Bergmann
2010-08-30 21:38 ` Jiri Slaby
2010-08-30 22:28 ` Alan Cox
2010-08-31 6:08 ` Jiri Slaby
2010-08-31 9:33 ` Alan Cox
2010-08-31 9:19 ` Jiri Slaby
2010-08-31 9:19 ` [PATCH 1/1] MAINTAINERS: remove isicom Jiri Slaby
2010-08-31 15:03 ` Joe Perches
2010-08-31 15:08 ` [PATCH 1/1] MAINTAINERS: orphan isicom Jiri Slaby
2010-08-31 9:26 ` [RFC 0/5] tty: move stuff around Arnd Bergmann
2010-08-31 10:42 ` Rogier Wolff
2010-08-31 11:23 ` Alan Cox
2010-08-31 11:54 ` Arnd Bergmann
2010-08-31 13:32 ` Greg KH
2010-09-02 15:16 ` Michael H. Warfield
2010-09-03 12:13 ` Arnd Bergmann
2010-09-03 12:58 ` Gene Heskett
2010-09-03 13:34 ` Arnd Bergmann
2010-08-31 15:53 ` Mike Frysinger
2010-09-02 20:12 ` Geert Uytterhoeven
2010-09-03 12:01 ` Arnd Bergmann
2010-08-31 4:11 ` Greg KH
2010-09-03 15:29 ` Arnd Bergmann
2010-09-03 16:55 ` Greg KH
2010-09-03 17:42 ` Arnd Bergmann
2010-09-03 22:46 ` Greg KH
2010-09-03 20:08 ` Geert Uytterhoeven
2010-09-03 20:32 ` Alan Cox
2010-09-03 20:23 ` Geert Uytterhoeven
2010-09-21 23:07 ` Greg KH
2010-09-21 23:08 ` Greg KH [this message]
2010-09-21 23:08 ` [PATCH 2/2] TTY: create tty/vt and move the vt code there Greg KH
2010-09-22 9:10 ` Arnd Bergmann
2010-09-22 9:13 ` [PATCH 1/2] TTY: create /tty and move the tty core files there Arnd Bergmann
2011-02-23 1:12 ` [RFC 0/5] tty: move stuff around Greg KH
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=20100921230804.GB32346@kroah.com \
--to=greg@kroah.com \
--cc=R.E.Wolff@bitwizard.nl \
--cc=alan@lxorguk.ukuu.org.uk \
--cc=arnd@arndb.de \
--cc=geert@linux-m68k.org \
--cc=gregkh@suse.de \
--cc=jslaby@suse.cz \
--cc=linux-kernel@vger.kernel.org \
--cc=mhw@wittsend.com \
/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
all inboxes | Powered by JetHome®