pci_id_table and mid_idsel?

Liu Dave-r63238 DaveLiu at freescale.com
Fri Aug 25 18:59:11 EST 2006

Please self study the existing source code. It can help you.


	From: linuxppc-embedded-bounces+daveliu=freescale.com at ozlabs.org
[mailto:linuxppc-embedded-bounces+daveliu=freescale.com at ozlabs.org] On
Behalf Of Parav Pandit
	Sent: Friday, August 25, 2006 4:57 PM
	To: linuxppc-embedded at ozlabs.org
	Subject: pci_id_table and mid_idsel?
	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
	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
	(( 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.
	Parav Pandit


	All-new Yahoo! Mail
ailbeta> - Fire up a more powerful email and get things done faster.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://ozlabs.org/pipermail/linuxppc-embedded/attachments/20060825/fec60cfd/attachment.htm 

More information about the Linuxppc-embedded mailing list