linux-serial.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Sean Young <sean@mess.org>
To: Alan Cox <alan@linux.intel.com>,
	Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
	linux-serial@vger.kernel.org
Cc: "David Härdeman" <david@hardeman.nu>,
	"Mauro Carvalho Chehab" <mchehab@redhat.com>
Subject: [PATCH v3 0/2] winbond-cir: Fix initialization
Date: Fri,  7 Sep 2012 19:06:22 +0100	[thread overview]
Message-ID: <cover.1347029782.git.sean@mess.org> (raw)

The serial driver will detect the winbond cir device as a serial port,
since it looks exactly like a serial port unless you know what it is
from the PNP ID.

v2:
Alan Cox pointed out[1] that the pnp serial probe should be done before
the legacy probe and we should keep track of any IR ports during the
pnp scan. This is an implementation of that idea.

[1] http://www.spinics.net/lists/linux-serial/msg06757.html

v3:
 - Removed IrDA entries
 - Renamed PORT_IR to PORT_8250_CIR
 - commit message rewording

Diffed against tty-next.

Sean Young (2):
  8250_pnp: do pnp probe before legacy probe
  8250: blacklist Winbond CIR port

 drivers/tty/serial/8250/8250.c     |   47 ++++++++++++++++++++++++-----------
 drivers/tty/serial/8250/8250.h     |    9 +++++++
 drivers/tty/serial/8250/8250_pnp.c |   31 +++++++++++++----------
 drivers/tty/serial/8250/Kconfig    |   16 ++++++------
 drivers/tty/serial/8250/Makefile   |    5 ++-
 include/linux/serial_core.h        |    3 +-
 6 files changed, 72 insertions(+), 39 deletions(-)

-- 
1.7.2.5


             reply	other threads:[~2012-09-07 18:06 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-09-07 18:06 Sean Young [this message]
2012-09-07 18:06 ` [PATCH v3 1/2] 8250_pnp: do pnp probe before legacy probe Sean Young
2012-09-07 18:06 ` [PATCH v3 2/2] 8250: blacklist Winbond CIR port Sean Young
2012-09-24  9:53 ` [PATCH v3 0/2] winbond-cir: Fix initialization Sean Young
2012-09-24 13:18   ` Alan Cox

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=cover.1347029782.git.sean@mess.org \
    --to=sean@mess.org \
    --cc=alan@linux.intel.com \
    --cc=david@hardeman.nu \
    --cc=gregkh@linuxfoundation.org \
    --cc=linux-serial@vger.kernel.org \
    --cc=mchehab@redhat.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;
as well as URLs for NNTP newsgroup(s).