diff options
Diffstat (limited to 'drivers/parport/parport_pc.c')
-rw-r--r-- | drivers/parport/parport_pc.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/parport/parport_pc.c b/drivers/parport/parport_pc.c index 8d62fb76cd41..a3755ffc03d4 100644 --- a/drivers/parport/parport_pc.c +++ b/drivers/parport/parport_pc.c | |||
@@ -1488,7 +1488,7 @@ static void __devinit winbond_check(int io, int key) | |||
1488 | 1488 | ||
1489 | outb(key, io); | 1489 | outb(key, io); |
1490 | outb(key, io); /* Write Magic Sequence to EFER, extended | 1490 | outb(key, io); /* Write Magic Sequence to EFER, extended |
1491 | funtion enable register */ | 1491 | function enable register */ |
1492 | outb(0x20, io); /* Write EFIR, extended function index register */ | 1492 | outb(0x20, io); /* Write EFIR, extended function index register */ |
1493 | devid = inb(io + 1); /* Read EFDR, extended function data register */ | 1493 | devid = inb(io + 1); /* Read EFDR, extended function data register */ |
1494 | outb(0x21, io); | 1494 | outb(0x21, io); |
@@ -1527,7 +1527,7 @@ static void __devinit winbond_check2(int io, int key) | |||
1527 | x_oldid = inb(io + 2); | 1527 | x_oldid = inb(io + 2); |
1528 | 1528 | ||
1529 | outb(key, io); /* Write Magic Byte to EFER, extended | 1529 | outb(key, io); /* Write Magic Byte to EFER, extended |
1530 | funtion enable register */ | 1530 | function enable register */ |
1531 | outb(0x20, io + 2); /* Write EFIR, extended function index register */ | 1531 | outb(0x20, io + 2); /* Write EFIR, extended function index register */ |
1532 | devid = inb(io + 2); /* Read EFDR, extended function data register */ | 1532 | devid = inb(io + 2); /* Read EFDR, extended function data register */ |
1533 | outb(0x21, io + 1); | 1533 | outb(0x21, io + 1); |
@@ -1569,7 +1569,7 @@ static void __devinit smsc_check(int io, int key) | |||
1569 | 1569 | ||
1570 | outb(key, io); | 1570 | outb(key, io); |
1571 | outb(key, io); /* Write Magic Sequence to EFER, extended | 1571 | outb(key, io); /* Write Magic Sequence to EFER, extended |
1572 | funtion enable register */ | 1572 | function enable register */ |
1573 | outb(0x0d, io); /* Write EFIR, extended function index register */ | 1573 | outb(0x0d, io); /* Write EFIR, extended function index register */ |
1574 | oldid = inb(io + 1); /* Read EFDR, extended function data register */ | 1574 | oldid = inb(io + 1); /* Read EFDR, extended function data register */ |
1575 | outb(0x0e, io); | 1575 | outb(0x0e, io); |