From: Alan Cox <alan@lxorguk.ukuu.org.uk>
To: linux-serial@vger.kernel.org
Subject: [RFC 0/5] Starting to pull out the I/O operations
Date: Fri, 18 Mar 2011 15:24:29 +0000 [thread overview]
Message-ID: <20110318152145.10657.23718.stgit@bob.linux.org.uk> (raw)
This is an untested WIP but as it was coming in discussion about device-tree
as well I figured it will be useful to post the prototype code at this point.
There is lots left to do - in particular resource claim/release should be an
ops method, and it's going to need people to update various embedded 8250
drivers when we finally go for a version of it.
On the bright side once we have an ops structure we have the basis for avoiding
further mayhem in the arch code.
---
Alan Cox (5):
8250: extract out the "odd" port types
8250: evict the hub6 I/O operations
8250: register upio users
8250: introduce the idea of an operations struct for an 8250 port
8250: Make serial_dl_write a port operation
drivers/char/mwave/mwavedd.c | 2
drivers/tty/serial/8250.c | 450 ++++++++++++++-------------------------
drivers/tty/serial/8250.h | 27 ++
drivers/tty/serial/8250_au.c | 90 ++++++++
drivers/tty/serial/8250_dwapb.c | 120 ++++++++++
drivers/tty/serial/8250_hub6.c | 39 +++
drivers/tty/serial/8250_pci.c | 2
drivers/tty/serial/8250_pnp.c | 2
drivers/tty/serial/8250_rm9k.c | 95 ++++++++
drivers/tty/serial/Kconfig | 9 +
drivers/tty/serial/Makefile | 3
drivers/tty/serial/of_serial.c | 2
drivers/tty/serial/serial_cs.c | 2
include/linux/serial_8250.h | 36 ++-
include/linux/serial_core.h | 5
15 files changed, 579 insertions(+), 305 deletions(-)
create mode 100644 drivers/tty/serial/8250_au.c
create mode 100644 drivers/tty/serial/8250_dwapb.c
create mode 100644 drivers/tty/serial/8250_rm9k.c
--
Words without body bare winter barren trees much unspoken
next reply other threads:[~2011-03-18 15:44 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-03-18 15:24 Alan Cox [this message]
2011-03-18 15:24 ` [RFC 1/5] 8250: Make serial_dl_write a port operation Alan Cox
2011-03-18 15:25 ` [RFC 2/5] 8250: introduce the idea of an operations struct for an 8250 port Alan Cox
2011-03-18 15:25 ` [RFC 3/5] 8250: register upio users Alan Cox
2011-03-18 15:25 ` [RFC 4/5] 8250: evict the hub6 I/O operations Alan Cox
2011-03-18 15:26 ` [RFC 5/5] 8250: extract out the "odd" port types Alan Cox
2011-03-18 20:04 ` [RFC 0/5] Starting to pull out the I/O operations 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=20110318152145.10657.23718.stgit@bob.linux.org.uk \
--to=alan@lxorguk.ukuu.org.uk \
--cc=linux-serial@vger.kernel.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;
as well as URLs for NNTP newsgroup(s).