mirror of
https://github.com/lm-sensors/lm-sensors.git
synced 2026-10-28 12:40:42 +00:00
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. git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5306 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
1 parent
428e71b48e
commit
9a166de2c2
2 files changed
+1
-18
No files matched your search
@@ -3,6 +3,7 @@ lm_sensors CHANGES file
|
||||
|
||||
SVN-HEAD
|
||||
Library: Avoid namespace pollution
|
||||
Module i2c-i801: Remove verbose debugging messages (2.6 backport)
|
||||
Module i2c-piix4: Minor cleanups (2.6 backport)
|
||||
Program sensors-detect: Add VIA VT1212 support
|
||||
Add SMSC EMC2700LPC support
|
||||
|
||||
@@ -255,11 +255,6 @@ static int i801_transaction(void)
|
||||
int result = 0;
|
||||
int timeout = 0;
|
||||
|
||||
dev_dbg(I801_dev, "Transaction (pre): CNT=%02x, CMD=%02x, "
|
||||
"ADD=%02x, DAT0=%02x, DAT1=%02x\n", inb_p(SMBHSTCNT),
|
||||
inb_p(SMBHSTCMD), inb_p(SMBHSTADD), inb_p(SMBHSTDAT0),
|
||||
inb_p(SMBHSTDAT1));
|
||||
|
||||
/* Make sure the SMBus host is ready to start transmitting */
|
||||
/* 0x1f = Failed, Bus_Err, Dev_Err, Intr, Host_Busy */
|
||||
if ((temp = (0x1f & inb_p(SMBHSTSTS))) != 0x00) {
|
||||
@@ -312,10 +307,6 @@ static int i801_transaction(void)
|
||||
dev_dbg(I801_dev, "Failed reset at end of transaction "
|
||||
"(%02x)\n", temp);
|
||||
}
|
||||
dev_dbg(I801_dev, "Transaction (post): CNT=%02x, CMD=%02x, "
|
||||
"ADD=%02x, DAT0=%02x, DAT1=%02x\n", inb_p(SMBHSTCNT),
|
||||
inb_p(SMBHSTCMD), inb_p(SMBHSTADD), inb_p(SMBHSTDAT0),
|
||||
inb_p(SMBHSTDAT1));
|
||||
return result;
|
||||
}
|
||||
|
||||
@@ -362,11 +353,6 @@ static int i801_block_transaction(union i2c_smbus_data *data, char read_write,
|
||||
smbcmd = I801_BLOCK_DATA;
|
||||
outb_p(smbcmd | ENABLE_INT9, SMBHSTCNT);
|
||||
|
||||
dev_dbg(I801_dev, "Block (pre %d): CNT=%02x, CMD=%02x, "
|
||||
"ADD=%02x, DAT0=%02x, BLKDAT=%02x\n", i,
|
||||
inb_p(SMBHSTCNT), inb_p(SMBHSTCMD), inb_p(SMBHSTADD),
|
||||
inb_p(SMBHSTDAT0), inb_p(SMBBLKDAT));
|
||||
|
||||
/* Make sure the SMBus host is ready to start transmitting */
|
||||
temp = inb_p(SMBHSTSTS);
|
||||
if (i == 1) {
|
||||
@@ -447,10 +433,6 @@ static int i801_block_transaction(union i2c_smbus_data *data, char read_write,
|
||||
"Bad status (%02x) at end of transaction\n",
|
||||
temp);
|
||||
}
|
||||
dev_dbg(I801_dev, "Block (post %d): CNT=%02x, CMD=%02x, "
|
||||
"ADD=%02x, DAT0=%02x, BLKDAT=%02x\n", i,
|
||||
inb_p(SMBHSTCNT), inb_p(SMBHSTCMD), inb_p(SMBHSTADD),
|
||||
inb_p(SMBHSTDAT0), inb_p(SMBBLKDAT));
|
||||
|
||||
if (result < 0)
|
||||
goto END;
|
||||
|
||||
Reference in new issue
Block a user