linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* Patch to make ppc_md.progress useful on 4xx
@ 2002-02-21  0:56 David Gibson
  2002-02-20 20:26 ` Armin
  0 siblings, 1 reply; 5+ messages in thread
From: David Gibson @ 2002-02-21  0:56 UTC (permalink / raw)
  To: linuxppc-embedded


Currently, ppc_md.progress on 4xx just does a printk(), which means
its messages won't be displayed until console_init() at which point
it's usually too late to be useful.

The patch below changes ppc4xx_progress() to write directly to the
serial port.  I'd like to get comments before pushing the change,
because I don't want to break 4xx machines that I don't have (and so
can't test).

At the moment it should only affect 405GP.  NP405H and NP405L support
should be trivial (I've only refrained from adding it because I can't
test it myself).  STBxxxx should be possible but will be much
yuckier.  It would be nice to have it work on all 4xx though, to get
rid of the nasty #ifdef in ppc4xx_setup.c.

--
David Gibson			| For every complex problem there is a
david@gibson.dropbear.id.au	| solution which is simple, neat and
				| wrong.  -- H.L. Mencken
http://www.ozlabs.org/people/dgibson


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

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

end of thread, other threads:[~2002-02-21 16:33 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-02-21  0:56 Patch to make ppc_md.progress useful on 4xx David Gibson
2002-02-20 20:26 ` Armin
2002-02-21  4:27   ` David Gibson
2002-02-21 14:12     ` Armin
2002-02-21 16:33     ` Tom Rini

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