Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 206179
b: refs/heads/master
c: 2597186
h: refs/heads/master
i:
  206177: fe92735
  206175: 7b20ee9
v: v3
  • Loading branch information
Andres Salomon authored and H. Peter Anvin committed Jul 31, 2010
1 parent b35920e commit 8a75d65
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 75a9cac430a1bd2a5219c74508ca01b0ddfddc9a
refs/heads/master: 25971865d48a8d0ece5307a59dbd3f06d05a7567
8 changes: 3 additions & 5 deletions trunk/arch/x86/kernel/olpc.c
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ int olpc_ec_cmd(unsigned char cmd, unsigned char *inbuf, size_t inlen,
* The OBF flag will sometimes misbehave due to what we believe
* is a hardware quirk..
*/
printk(KERN_DEBUG "olpc-ec: running cmd 0x%x\n", cmd);
pr_devel("olpc-ec: running cmd 0x%x\n", cmd);
outb(cmd, 0x6c);

if (wait_on_ibf(0x6c, 0)) {
Expand All @@ -159,8 +159,7 @@ int olpc_ec_cmd(unsigned char cmd, unsigned char *inbuf, size_t inlen,
" EC accept data!\n");
goto err;
}
printk(KERN_DEBUG "olpc-ec: sending cmd arg 0x%x\n",
inbuf[i]);
pr_devel("olpc-ec: sending cmd arg 0x%x\n", inbuf[i]);
outb(inbuf[i], 0x68);
}
}
Expand All @@ -173,8 +172,7 @@ int olpc_ec_cmd(unsigned char cmd, unsigned char *inbuf, size_t inlen,
goto restart;
}
outbuf[i] = inb(0x68);
printk(KERN_DEBUG "olpc-ec: received 0x%x\n",
outbuf[i]);
pr_devel("olpc-ec: received 0x%x\n", outbuf[i]);
}
}

Expand Down

0 comments on commit 8a75d65

Please sign in to comment.