All of lore.kernel.org
 help / color / mirror / Atom feed
From: Alex deVries <adevries@linuxcare.com>
To: Grant Grundler <grundler@cup.hp.com>
Cc: parisc-linux@thepuffingroup.com
Subject: Re: [parisc-linux] SuckyIO support
Date: Wed, 20 Dec 2000 01:37:09 -0500	[thread overview]
Message-ID: <3A405395.FFFF99E4@linuxcare.com> (raw)
In-Reply-To: 200012200256.SAA16519@milano.cup.hp.com

Grant Grundler wrote:
> Alex deVries wrote:
> > I've taken mkp's initial work on superio.c and added some stuff, but in
> > the end am confused by where we actually get the interrupt number from
> > the card.  There's no such register in function 1 (where the interrupts
> > ultimately end up) and both registers on function 0 and 2 return 0,
> > which I don't think is right.
> 
> Why are you reading this out of a register? Which register?

I'm reading it out of the INTERRUPT_LINE register because that's how
'normal' PCI devices set their dev->irq value.  If you say that's the
right approach, I believe you.

> IIRC, function 0 and 2 *should* return 0 in INTERRUPT_PIN configuration
> register and thus the INTERRUPT_LINE configuration as well.

Ah, good.

> But since IOSAPIC driver (when invoked by LBA PCI code) munges the
> INTERRUPT_LINE contents and puts the virtualized IRQ number in
> dev->irq for the drivers consumption, superio driver should
> not be reading these configuration registers.

Okay... but I get zero in dev->irq already, so I'm not sure the IOSAPIC
driver is virtualizing them properly.

Grant, I'll email the driver to you, Grant, to have a look at.

Thanks for your help!

- Alex

-- 
Alex deVries, Principal Solutions Architect, The Puffins at Linuxcare
613.562.2759 tel
alex@linuxcare.com, http://www.linuxcare.com/
Linuxcare, Support for the revolution.

  reply	other threads:[~2000-12-20  6:31 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-12-19  9:42 [parisc-linux] SuckyIO support Matthew Wilcox
2000-12-19 15:46 ` Alex deVries
2000-12-20  2:56   ` Grant Grundler
2000-12-20  6:37     ` Alex deVries [this message]
2000-12-20 13:05       ` Alan Cox
2000-12-20 17:30         ` Grant Grundler
2000-12-20 20:47           ` Alan Cox
2000-12-20 21:12             ` Grant Grundler
2000-12-20 15:50     ` Matthew Wilcox
2000-12-20 16:54       ` Alex deVries
2000-12-20 18:24       ` Grant Grundler
2000-12-24  9:05         ` Matthew Wilcox
2000-12-26  7:16           ` Grant Grundler
2000-12-26 10:53             ` Matthew Wilcox
2000-12-26 20:18               ` Grant Grundler
2000-12-23  9:15 ` Matthew Wilcox
2000-12-27 20:27   ` Alex deVries

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=3A405395.FFFF99E4@linuxcare.com \
    --to=adevries@linuxcare.com \
    --cc=grundler@cup.hp.com \
    --cc=parisc-linux@thepuffingroup.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.