]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
i7300_edac: Make the debug messages coherent with the others
authorMauro Carvalho Chehab <mchehab@redhat.com>
Fri, 27 Aug 2010 13:39:35 +0000 (10:39 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Mon, 30 Aug 2010 17:56:57 +0000 (14:56 -0300)
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/edac/i7300_edac.c

index 3ae8fae74e5eb2c8985fe3bbba7a66ec73e4465c..218d463fb1a8b7357a162479c02eadfa9e550768 100644 (file)
@@ -580,9 +580,9 @@ static int decode_mtr(struct i7300_pvt *pvt,
 
        if (IS_SINGLE_MODE(pvt->mc_settings_a)) {
                p_csrow->edac_mode = EDAC_SECDED;
-               debugf0("ECC code is 8-byte-over-32-byte SECDED+ code\n");
+               debugf2("\t\tECC code is 8-byte-over-32-byte SECDED+ code\n");
        } else {
-               debugf0("ECC code is on Lockstep mode\n");
+               debugf2("\t\tECC code is on Lockstep mode\n");
                if (MTR_DRAM_WIDTH(mtr))
                        p_csrow->edac_mode = EDAC_S8ECD8ED;
                else
@@ -591,7 +591,7 @@ static int decode_mtr(struct i7300_pvt *pvt,
 
        /* ask what device type on this row */
        if (MTR_DRAM_WIDTH(mtr)) {
-               debugf0("Scrub algorithm for x8 is on %s mode\n",
+               debugf2("\t\tScrub algorithm for x8 is on %s mode\n",
                        IS_SCRBALGO_ENHANCED(pvt->mc_settings) ?
                                            "enhanced" : "normal");