Changeset 5306

Show
Ignore:
Timestamp:
07/15/08 23:06:46 (2 months ago)
Author:
khali
Message:

Dumping the register values before and after every transaction was
useful during driver development but now it's only spamming the log.
Backport from Linux 2.6.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • lm-sensors/trunk/CHANGES

    r5305 r5306  
    44SVN-HEAD 
    55  Library: Avoid namespace pollution 
     6  Module i2c-i801: Remove verbose debugging messages (2.6 backport) 
    67  Module i2c-piix4: Minor cleanups (2.6 backport) 
    78  Program sensors-detect: Add VIA VT1212 support 
  • lm-sensors/trunk/kernel/busses/i2c-i801.c

    r5231 r5306  
    256256        int timeout = 0; 
    257257 
    258         dev_dbg(I801_dev, "Transaction (pre): CNT=%02x, CMD=%02x, " 
    259                 "ADD=%02x, DAT0=%02x, DAT1=%02x\n", inb_p(SMBHSTCNT), 
    260                 inb_p(SMBHSTCMD), inb_p(SMBHSTADD), inb_p(SMBHSTDAT0), 
    261                 inb_p(SMBHSTDAT1)); 
    262  
    263258        /* Make sure the SMBus host is ready to start transmitting */ 
    264259        /* 0x1f = Failed, Bus_Err, Dev_Err, Intr, Host_Busy */ 
     
    313308                        "(%02x)\n", temp); 
    314309        } 
    315         dev_dbg(I801_dev, "Transaction (post): CNT=%02x, CMD=%02x, " 
    316                 "ADD=%02x, DAT0=%02x, DAT1=%02x\n", inb_p(SMBHSTCNT), 
    317                 inb_p(SMBHSTCMD), inb_p(SMBHSTADD), inb_p(SMBHSTDAT0), 
    318                 inb_p(SMBHSTDAT1)); 
    319310        return result; 
    320311} 
     
    362353                        smbcmd = I801_BLOCK_DATA; 
    363354                outb_p(smbcmd | ENABLE_INT9, SMBHSTCNT); 
    364  
    365                 dev_dbg(I801_dev, "Block (pre %d): CNT=%02x, CMD=%02x, " 
    366                         "ADD=%02x, DAT0=%02x, BLKDAT=%02x\n", i, 
    367                         inb_p(SMBHSTCNT), inb_p(SMBHSTCMD), inb_p(SMBHSTADD), 
    368                         inb_p(SMBHSTDAT0), inb_p(SMBBLKDAT)); 
    369355 
    370356                /* Make sure the SMBus host is ready to start transmitting */ 
     
    448434                                temp); 
    449435                } 
    450                 dev_dbg(I801_dev, "Block (post %d): CNT=%02x, CMD=%02x, " 
    451                         "ADD=%02x, DAT0=%02x, BLKDAT=%02x\n", i, 
    452                         inb_p(SMBHSTCNT), inb_p(SMBHSTCMD), inb_p(SMBHSTADD), 
    453                         inb_p(SMBHSTDAT0), inb_p(SMBBLKDAT)); 
    454436 
    455437                if (result < 0)