From: Parav Pandit <paravpandit@yahoo.com>
To: linuxppc-embedded@ozlabs.org
Subject: pci_id_table and mid_idsel?
Date: Fri, 25 Aug 2006 01:56:43 -0700 (PDT) [thread overview]
Message-ID: <20060825085643.47078.qmail@web36606.mail.mud.yahoo.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 1002 bytes --]
Hi,
Can someone please explain me pci_irq_table and how to select the value of min_idsel , max_idsel for my 85xx boards?
I am facing issues in registering the interrupt handler.
On what basis we have to select the min_idsel and max_idsel value??
Currently common_swizzle function retuns slot number 11, if I hard-code the value of 11 in the min_idsel and max_idsel because I have only one slot, I am able to register the interrupt handler.
PCI_SLOT in common_swizzle returns 11 because device function number (devfn) has value of 88 ( I am wondering why 88 instead of from 0-7).
(( 88>> 8) && 0x1f) = 11
Since max functions we can have 8. (0-7). Why OS assign the value of 88 inside?
Configuration transaction uses only 3 bits of function number in the CONFIG_ADDRESS as per PCI local bus specification 2.2.
Regards,
Parav Pandit
---------------------------------
All-new Yahoo! Mail - Fire up a more powerful email and get things done faster.
[-- Attachment #2: Type: text/html, Size: 1328 bytes --]
next reply other threads:[~2006-08-25 8:56 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-08-25 8:56 Parav Pandit [this message]
2006-08-25 8:59 ` pci_id_table and mid_idsel? Liu Dave-r63238
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=20060825085643.47078.qmail@web36606.mail.mud.yahoo.com \
--to=paravpandit@yahoo.com \
--cc=linuxppc-embedded@ozlabs.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