public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Russell King <rmk@arm.linux.org.uk>
To: Adam Belay <ambx1@neo.rr.com>, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] PnP Changes for 2.5.72
Date: Thu, 19 Jun 2003 09:36:32 +0100	[thread overview]
Message-ID: <20030619093632.A29602@flint.arm.linux.org.uk> (raw)
In-Reply-To: <20030618234418.GC333@neo.rr.com>; from ambx1@neo.rr.com on Wed, Jun 18, 2003 at 11:44:18PM +0000

On Wed, Jun 18, 2003 at 11:44:18PM +0000, Adam Belay wrote:
> diff -Nru a/drivers/serial/8250_pnp.c b/drivers/serial/8250_pnp.c
> --- a/drivers/serial/8250_pnp.c	Wed Jun 18 23:02:24 2003
> +++ b/drivers/serial/8250_pnp.c	Wed Jun 18 23:02:24 2003
> @@ -315,19 +315,6 @@
>  
>  MODULE_DEVICE_TABLE(pnp, pnp_dev_table);
>  
> -static inline void avoid_irq_share(struct pnp_dev *dev)
> -{
> -	unsigned int map = 0x1FF8;
> -	struct pnp_irq *irq;
> -	struct pnp_resources *res = dev->possible;
> -
> -	serial8250_get_irq_map(&map);
> -
> -	for ( ; res; res = res->dep)
> -		for (irq = res->irq; irq; irq = irq->next)
> -			irq->map = map;
> -}
> -
>  static char *modem_names[] __devinitdata = {
>  	"MODEM", "Modem", "modem", "FAX", "Fax", "fax",
>  	"56K", "56k", "K56", "33.6", "28.8", "14.4",
> @@ -395,8 +391,6 @@
>  		if (ret < 0)
>  			return ret;
>  	}
> -	if (flags & SPCI_FL_NO_SHIRQ)
> -		avoid_irq_share(dev);
>  	memset(&serial_req, 0, sizeof(serial_req));
>  	serial_req.irq = pnp_irq(dev,0);
>  	serial_req.port = pnp_port_start(dev, 0);

Why did you remove this?  I'd like this to go to Linus as a separate cset
so it can easily be backed out again if needed.

It's purpose is trying to ensure that we don't use an interrupt which
another serial port is using.  Presumably this is because the card does
not work, for whatever reason, when it shares interrupts with other serial
ports.

-- 
Russell King (rmk@arm.linux.org.uk)                The developer of ARM Linux
             http://www.arm.linux.org.uk/personal/aboutme.html


  parent reply	other threads:[~2003-06-19  8:22 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-06-18 23:44 [PATCH] PnP Changes for 2.5.72 Adam Belay
2003-06-18 23:44 ` Adam Belay
2003-06-18 23:45 ` Adam Belay
2003-06-18 23:45 ` Adam Belay
2003-06-18 23:45 ` Adam Belay
2003-06-18 23:46 ` Adam Belay
2003-06-18 23:46 ` Adam Belay
2003-06-18 23:47 ` Adam Belay
2003-06-19  8:36 ` Russell King [this message]
2003-06-19 23:42   ` Adam Belay
2003-06-20  5:55     ` Russell King
2003-06-20  6:10       ` Andrey Panin
2003-06-20  7:10         ` Russell King
2003-06-20 10:03           ` Andrey Panin
2003-06-20 18:00         ` Bill Davidsen
2003-06-21 17:53           ` Thorsten Kranzkowski
2003-06-21 20:26             ` Andrey Panin

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=20030619093632.A29602@flint.arm.linux.org.uk \
    --to=rmk@arm.linux.org.uk \
    --cc=ambx1@neo.rr.com \
    --cc=linux-kernel@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