diff options
-rw-r--r-- | drivers/misc/sony-laptop.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/drivers/misc/sony-laptop.c b/drivers/misc/sony-laptop.c index b0f68031b49d..0435b3d64163 100644 --- a/drivers/misc/sony-laptop.c +++ b/drivers/misc/sony-laptop.c | |||
@@ -1451,7 +1451,7 @@ static u8 sony_pic_call1(u8 dev) | |||
1451 | outb(dev, spic_dev.cur_ioport->io1.minimum + 4); | 1451 | outb(dev, spic_dev.cur_ioport->io1.minimum + 4); |
1452 | v1 = inb_p(spic_dev.cur_ioport->io1.minimum + 4); | 1452 | v1 = inb_p(spic_dev.cur_ioport->io1.minimum + 4); |
1453 | v2 = inb_p(spic_dev.cur_ioport->io1.minimum); | 1453 | v2 = inb_p(spic_dev.cur_ioport->io1.minimum); |
1454 | dprintk("sony_pic_call1: 0x%.4x\n", (v2 << 8) | v1); | 1454 | dprintk("sony_pic_call1(0x%.2x): 0x%.4x\n", dev, (v2 << 8) | v1); |
1455 | return v2; | 1455 | return v2; |
1456 | } | 1456 | } |
1457 | 1457 | ||
@@ -1466,7 +1466,7 @@ static u8 sony_pic_call2(u8 dev, u8 fn) | |||
1466 | ITERATIONS_LONG); | 1466 | ITERATIONS_LONG); |
1467 | outb(fn, spic_dev.cur_ioport->io1.minimum); | 1467 | outb(fn, spic_dev.cur_ioport->io1.minimum); |
1468 | v1 = inb_p(spic_dev.cur_ioport->io1.minimum); | 1468 | v1 = inb_p(spic_dev.cur_ioport->io1.minimum); |
1469 | dprintk("sony_pic_call2: 0x%.4x\n", v1); | 1469 | dprintk("sony_pic_call2(0x%.2x - 0x%.2x): 0x%.4x\n", dev, fn, v1); |
1470 | return v1; | 1470 | return v1; |
1471 | } | 1471 | } |
1472 | 1472 | ||
@@ -1481,7 +1481,8 @@ static u8 sony_pic_call3(u8 dev, u8 fn, u8 v) | |||
1481 | wait_on_command(inb_p(spic_dev.cur_ioport->io1.minimum + 4) & 2, ITERATIONS_LONG); | 1481 | wait_on_command(inb_p(spic_dev.cur_ioport->io1.minimum + 4) & 2, ITERATIONS_LONG); |
1482 | outb(v, spic_dev.cur_ioport->io1.minimum); | 1482 | outb(v, spic_dev.cur_ioport->io1.minimum); |
1483 | v1 = inb_p(spic_dev.cur_ioport->io1.minimum); | 1483 | v1 = inb_p(spic_dev.cur_ioport->io1.minimum); |
1484 | dprintk("sony_pic_call3: 0x%.4x\n", v1); | 1484 | dprintk("sony_pic_call3(0x%.2x - 0x%.2x - 0x%.2x): 0x%.4x\n", |
1485 | dev, fn, v, v1); | ||
1485 | return v1; | 1486 | return v1; |
1486 | } | 1487 | } |
1487 | 1488 | ||