USB questions (for the MPC8xx)

Kári Davíðsson karid at flaga.is
Fri Mar 16 23:52:10 EST 2001


Hi,

In the m8xxhci.c hci driver for the mpc one can select to use TIMER1 for
the SOF generator.
A interruopt handler, m8xxhci_timer_interrupt() is registered to handle
this interrupt and generate the SOF.
Why is it then that the timer is also exported to PA6?
Why is it the the USE_TIMER1_FOR_SOF is defined within the
USE_UCODE_PATCH which is for external generated SOF-interrupt?
Isn't the timer option exactly for the case where you do not have
externally generated SOF-interrupt?
If we can use a timer for generating the SOF why can't we just use a
regular kernel timer instead, and therfore free one timer or baud rate
generator?

Thanks,

K.D.

P.S. sorry for the x-post I am not shure if this belongs to the embedded
list or the usb list.

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






More information about the Linuxppc-embedded mailing list