public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Pete Zaitcev <zaitcev@redhat.com>
To: Jan Slupski <jslupski@email.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: [PATCH] Wrong IRQ for USB on Sony Vaio (dmi_scan.c, pci-irq.c)
Date: Fri, 19 Apr 2002 11:56:58 -0400	[thread overview]
Message-ID: <200204191556.g3JFuw131245@devserv.devel.redhat.com> (raw)
In-Reply-To: <mailman.1019225640.7470.linux-kernel2news@redhat.com>

> Broken BIOS of these notebooks assigns IRQ 10 for USB,
> even though it is actually wired to IRQ 9.
> 
> I use PCG-FX240 model of Sony Vaio, but I have proofs of other users, 
> that exactly the same problem exists on models:
> FX200, FX220, FX250, FX270, FX290, FX370, FX503, R505JS, R505JL
> These models use Intel's 82801BA controller, and Phoenix bios.

> Only problem is I don't have DMI Product names for all involved models.
> That's why I left pretty general:
>   MATCH(DMI_PRODUCT_NAME, "PCG-")

My Z505JE works perfectly without it. In general Z505's are
known to work.

> +	/* Work around broken Sony Vaio Notebooks which assign USB to
> +	 * IRQ 10 even though it is actually wired to IRQ 9 
> +	 * Send comments to: Jan Slupski, jslupski@email.com
> +	 */
> +
> +	if (broken_sony_vaio_bios_irq10 && pirq == 0x63 && dev->irq == 9 &&
> +			dev->vendor == 0x8086 && dev->device == 0x2442){
> +		dev->irq = 9;
> +		pci_write_config_byte(dev, PCI_INTERRUPT_LINE, 9);
> +		r->set(pirq_router_dev, dev, pirq, 9);
> +	}

So...

	if (dev->irq == 9) {
		dev->irq = 9;
	}

Are you sure it's right?

-- Pete

       reply	other threads:[~2002-04-19 15:57 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.1019225640.7470.linux-kernel2news@redhat.com>
2002-04-19 15:56 ` Pete Zaitcev [this message]
2002-04-19 16:14   ` [PATCH] Wrong IRQ for USB on Sony Vaio (dmi_scan.c, pci-irq.c) Jan Slupski
2002-04-19 14:02 Jan Slupski
2002-04-19 14:40 ` Dave Jones
2002-04-19 14:43   ` Jan Slupski
2002-04-19 14:56     ` Dave Jones
2002-04-19 15:10       ` Dumitru Ciobarcianu
2002-04-19 16:01         ` Alan Cox
2002-04-19 17:05 ` Daniel Jacobowitz
2002-04-20  0:45 ` Bryan Rittmeyer

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=200204191556.g3JFuw131245@devserv.devel.redhat.com \
    --to=zaitcev@redhat.com \
    --cc=jslupski@email.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