projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
49e153e
)
ide: fix do_probe() to use SELECT_DRIVE()
author
Bartlomiej Zolnierkiewicz
<bzolnier@gmail.com>
Tue, 15 Jul 2008 19:21:48 +0000
(21:21 +0200)
committer
Bartlomiej Zolnierkiewicz
<bzolnier@gmail.com>
Tue, 15 Jul 2008 19:21:48 +0000
(21:21 +0200)
Fix one place in do_probe() which used ->OUTB directly instead
of calling SELECT_DRIVE() (so ->selectproc method is also used).
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
drivers/ide/ide-probe.c
patch
|
blob
|
history
diff --git
a/drivers/ide/ide-probe.c
b/drivers/ide/ide-probe.c
index 26e68b65b7cf554c09869f65eba2e8940489238e..12513c45d7009653c8e2aa11d2d0fd3c7295cca9 100644
(file)
--- a/
drivers/ide/ide-probe.c
+++ b/
drivers/ide/ide-probe.c
@@
-478,7
+478,7
@@
static int do_probe (ide_drive_t *drive, u8 cmd)
printk(KERN_ERR "%s: no response (status = 0x%02x), "
"resetting drive\n", drive->name, stat);
msleep(50);
-
hwif->OUTB(drive->select.all, io_ports->device_addr
);
+
SELECT_DRIVE(drive
);
msleep(50);
hwif->OUTBSYNC(drive, WIN_SRST, io_ports->command_addr);
(void)ide_busy_sleep(hwif);