linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* [8/9] Support for old IBM PReP boxes
@ 2004-07-29 21:34 Leigh Brown
  0 siblings, 0 replies; only message in thread
From: Leigh Brown @ 2004-07-29 21:34 UTC (permalink / raw)
  To: paulus; +Cc: trini, linuxppc-dev, barbieri


The planar id is only a byte, so why waste 8 characters displaying
it?


diff -urNX /home/leigh/.diffex linux-2.6.8-rc2-bk8.prev/arch/ppc/platforms/prep_setup.c linux-2.6.8-rc2-bk8/arch/ppc/platforms/prep_setup.c
--- linux-2.6.8-rc2-bk8.prev/arch/ppc/platforms/prep_setup.c	2004-07-29 20:43:53.000000000 +0100
+++ linux-2.6.8-rc2-bk8/arch/ppc/platforms/prep_setup.c	2004-07-29 20:55:49.000000000 +0100
@@ -814,7 +814,7 @@
 	{
 	case _PREP_IBM:
 		reg = inb(PREP_IBM_PLANAR);
-		printk(KERN_INFO "IBM planar ID: %08x", reg);
+		printk(KERN_INFO "IBM planar ID: %02x", reg);
 		switch (reg) {
 			case PREP_IBM_SANDALFOOT:
 				prep_gen_enable_l2();

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2004-07-29 21:34 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-07-29 21:34 [8/9] Support for old IBM PReP boxes Leigh Brown

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