Subject: Re: How to implement PSC driver on Au1550
To: Shigeyuki Fukushima <shige@NetBSD.org>
From: Garrett D'Amore <garrett_damore@tadpole.com>
List: port-evbmips
Date: 02/23/2006 09:51:48
Shigeyuki Fukushima wrote:
> Garrett D'Amore wrote:
>
>> What would be most useful is the PCI interrupt routing information
>> (which is always board specific), and any information about CPLD
>> registers and such. (E.g. does it have a WHOAMI register?)
>>
>
> PCI Specification for OMS-AL400:
> - PCI GbE Slot0 0x8000 PCI_INTA ID_SEL PCI_AD15
> PCI REQ/GNT #0
> - PCI GbE Slot1 0x4000 PCI_INTB ID_SEL PCI_AD14
> PCI REQ/GNT #1
> - PCI USB 2.0 Slot2 0x2000 PCI_INTC ID_SEL PCI_AD13
> PCI REQ/GNT #2
> - PCI Connecter(on board?) Slot3 0x1000 PCI_INTD ID_SEL PCI_AD12
> PCI REQ/GNT #3
>
Hmmm... then your PCI configuration stuff in your board-specific .c file
is wrong, because the PCI IDSEL lines are wrong. You won't get
interrupts routed to you.
> I don't know about WHOAMI register.
> Is it board specific thing??
>
Yes.
--
Garrett D'Amore, Principal Software Engineer
Tadpole Computer / Computing Technologies Division,
General Dynamics C4 Systems
http://www.tadpolecomputer.com/
Phone: 951 325-2134 Fax: 951 325-2191