RE: PCI interrupt queries

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Rajat Jain <Rajat.Jain@...>
Cc: <kernelnewbies@...>, <linux-newbie@...>
Date: Thursday, August 21, 2008 - 5:31 am

Rajat Jain wrote:

U-boot does. There is a fairly standardised way to connect PCI interrupt
lines, especially for PCI slots where various cards can be plugged in:

A rotation on 1 is applied to the wiring of the interrupt lines between
each device/slot, order is dependant on the wiring of the device select
lines, I think chapter 6 of TLK[1] has some of the basics. These
rotations also need to be carried across PCI-to-PCI bridges. Hence the
third device on bus 0 should have: A->INT3; B->INT4; C->INT1; d->INT2.
INT[1-4] then map into a set of interrupt numbers, which are also highly
dependant on the hardware.

There is a lot of hardware where this doesn't hold true for onboard
devices (and probably even slots) and the mapping of the devices
interrupts with relation to their device select lines are provided by a
board specific table.

Martyn

[1] http://www.tldp.org/LDP/tlk/dd/pci.html

-- 
Martyn Welch MEng MPhil MIET
Principal Software Engineer

GE Fanuc Intelligent Platforms
Tove Valley Business Park, Towcester,
Northants, NN12 6PF, United Kingdom

Telephone: +44 (0) 1327 359444
Direct Dial: +44 (0) 1327 322748
Fax: +44 (0) 1327 322800
email: martyn.welch@gefanuc.com
web: www.gefanuc.com

GE Fanuc Intelligent Platforms Ltd, registered in England and Wales
(3828642) at 100 Barbirolli Square, Manchester, M2 3AB, VAT GB 729 849
476

GE Fanuc Intelligent Platforms Confidential and Proprietary. If you
have received this message in error please notify us immediately and
permanently remove it from your system and destroy any printed
hardcopies.  

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@nl.linux.org
Please read the FAQ at http://kernelnewbies.org/FAQ
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
PCI interrupt queries, Rajat Jain, (Tue Aug 19, 1:11 am)
Re: PCI interrupt queries, Greg KH, (Thu Aug 21, 1:42 am)
Re: PCI interrupt queries, Rene Herman, (Tue Aug 19, 4:34 pm)
RE: PCI interrupt queries, Rajat Jain, (Wed Aug 20, 12:50 am)
RE: PCI interrupt queries, Welch, Martyn (GE EntSol, Intelligent Platforms)..., (Thu Aug 21, 5:31 am)
Re: PCI interrupt queries, Om, (Thu Aug 21, 1:14 pm)
Re: PCI interrupt queries, Rene Herman, (Thu Aug 21, 7:10 am)
RE: PCI interrupt queries, Welch, Martyn (GE EntSol, Intelligent Platforms)..., (Thu Aug 21, 7:12 am)
Re: PCI interrupt queries, Rene Herman, (Wed Aug 20, 2:04 pm)