linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* PQFADS PCI
@ 2004-07-08  8:32 Marco Schramel
  0 siblings, 0 replies; only message in thread
From: Marco Schramel @ 2004-07-08  8:32 UTC (permalink / raw)
  To: PPC_LINUX


Hello,

at the moment i have time again setting up pci in my PQ2FADS board of
Motorola. How i post earlier in the list my kernel can boot without
the CONFIG_PCI option. The pci on the board is very similar to the
8266 ads. There is an external PCI-Interrupt "Controller". IRQ6 is the
default interrupt line in 8266ads and PQ2FADS. Therefore i use the code
/arch/ppc/platforms/mpc8266ads_pci.c for my inits. My kernel hangs
in the function "mpc8266ads_init_irq(void)". The access " *(volatile
unsigned int *) PCI_INT_MASK_REG |= 0xfff00000;" in this function is the
reason for hanging (thanks to abatron !!). Then i ve checked the header
(ads8260.h). There are some definitions for PCI.
 #define PCI_INT_STAT_REG	0xF8200000
#define PCI_INT_MASK_REG	0xF8200004
I thinks these definitions are wrong. It has to be
#define PCI_INT_STAT_REG	0xF4730000
#define PCI_INT_MASK_REG	0xF4730004
because the pci interrupt controller has 0x04730000 in the board map.
But with the "correct" values it doesnt work, too.

Any ideas or am i totally wrong??

Best regards
Marco

---------
Marco Schramel
R&D
Bartec GmbH
Schulstr. 30
94239 Gotteszell, Germany
www.bartec.de
Marco.Schramel@go.bartec.de
Phone:  +49 (0)9929/301332
Fax:    +49 (0)9929/301112

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2004-07-08  8:32 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-07-08  8:32 PQFADS PCI Marco Schramel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).