paulus at samba.org
Fri Jan 25 15:04:17 EST 2002
Dan Malek writes:
> Just like the comment states, we need it because of the way the
> 107/EPIC maps on the "standard" OpenPIC structure. The simple
Well, you need some way to tell the openpic code how many ISRs there
are. You don't _need_ to use OpenPIC_NumInitSenses to do that. :)
> answer is the interrupts are offset by 16 on the EPIC, so the
> interrupt numbers don't match the offset value. The EPIC may
> say there are only 24 vectors, but for the code to work we need
> to tell the OpenPIC code there are up to 16 more than that.
... and they are not contiguous either (I just looked at the MPC107
manual). Who designed this thing?
Anyway, openpic_set_sources will let you say clearly and explicitly
where the ISRs are and how many of them there are. I have checked it
in, have a look - I think it should let you handle the MPC107 quite
painlessly, but if not let me know what else is needed.
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
More information about the Linuxppc-dev