linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* 8260 CPM commands, need better resource ctrl?
@ 2002-10-22 16:10 Hans Feldt
  2002-10-22 17:40 ` Dan Malek
  0 siblings, 1 reply; 3+ messages in thread
From: Hans Feldt @ 2002-10-22 16:10 UTC (permalink / raw)
  To: linuxppc-embedded


CPM commands are executed from different drivers, e.g. fcc_enet.c and
in different execution contexts.

Isn't there a need for a central place to handle CPM commands?

For example:

m8260_cpm_cmd(...)
	disable ints
	bounded wait until FLG is clear
	if not clear => ???
	write to CPCR
	enable ints

I have problems when testing the ATM driver and at the same time having
limited Ethernet traffic (debug printouts).  I get a "transmit timed
out" and descriptor ring dump from the eth driver. Disabling irqs in the
atm driver around CPCR handling seems to fix that problem.

Comments?

Thanks,
Hans


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

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

end of thread, other threads:[~2002-10-23 13:06 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-10-22 16:10 8260 CPM commands, need better resource ctrl? Hans Feldt
2002-10-22 17:40 ` Dan Malek
2002-10-23 13:06   ` Pete McCormick

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