linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* MontaVista->sandpoint_setup.c:  changing IRQs
@ 2000-07-27 20:24 Ron Bianco
       [not found] ` <3980B7FD.1BC681E6@mvista.com>
  0 siblings, 1 reply; 2+ messages in thread
From: Ron Bianco @ 2000-07-27 20:24 UTC (permalink / raw)
  To: linuxppc-embedded


The sandpoint code sets up the EPIC to cascade to the 8259.

I've changed it to try to use the openpic for all irqs.  And changed the sandpoint_map[]
in sandpoint_pci.c to agree with my hardware.
And all other sandpoint specific irq stuff, including #if 0'ing  out all code related to
the 8259 in the sandpoint files.

FYI, I've tried to create 2 replacement files for sandpoint_setup.c and sandpoint_pci.c
with different names but changing the Makefile where the related object files are
referenced is not sufficient to have the new files included in the build.  I don't
understand all the components that control a build well enough yet to make successful
changes to the process.  I wish there was some detailed explaination somewhere.

I'm still uncertain that I've done all the right things.

In sandpoint_init_IRQ():

- I'm uncertain about:   irq_desc[i].ctl = &open_pic   where i is less than 16.    Should
I include 0 to 15 for this?

- Since there is no setup for the 8259 now in 'my' modified code, is there someplace
amongst all the openpic init stuff where I need to explicitly provide EPIC register setup
for all interrupts to direct mode?

Thanks, Ron


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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2000-07-28 19:27 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-07-27 20:24 MontaVista->sandpoint_setup.c: changing IRQs Ron Bianco
     [not found] ` <3980B7FD.1BC681E6@mvista.com>
2000-07-28 19:27   ` Mark A. Greer

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).