All of lore.kernel.org
 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 0/2] winbond-cir: Fix initialization v2
Date: Thu,  6 Sep 2012 23:20:30 +0100	[thread overview]
Message-ID: <cover.1346969721.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.

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.

Diffed against tty-next.

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

Sean Young (2):
  8250_pnp: merge into 8250 module so pnp probe can done first
  8250: blacklist IR ports

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

-- 
1.7.11.4


             reply	other threads:[~2012-09-06 22:20 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-09-06 22:20 Sean Young [this message]
2012-09-06 22:20 ` [PATCH 1/2] 8250_pnp: merge into 8250 module so pnp probe can done first Sean Young
2012-09-06 22:20 ` [PATCH 2/2] 8250: blacklist IR ports Sean Young
2012-09-07  0:01   ` Alan Cox
2012-09-07  9:30     ` Sean Young
2012-09-07 10:25       ` Alan Cox
2012-09-07 11:37         ` Sean Young

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.1346969721.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.