projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c38714e
)
ide: fix ide_port_scan() to do ACPI setup after initializing request queues
author
Bartlomiej Zolnierkiewicz
<bzolnier@gmail.com>
Tue, 6 Jan 2009 16:21:00 +0000
(17:21 +0100)
committer
Bartlomiej Zolnierkiewicz
<bzolnier@gmail.com>
Tue, 6 Jan 2009 16:21:00 +0000
(17:21 +0100)
This makes ide_port_scan()'s behavior match ide_host_register()'s
one and fixes OOPS in elv_may_queue() during port re-scan.
Reported-and-tested-by: Bruno Prémont <bonbons@linux-vserver.org>
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 f71f4eb4705a7ba2165cd046b488aa2b5bcfd779..ebb1b7f863f4d57683d9b8af3b1d8970fd8bcebc 100644
(file)
--- a/
drivers/ide/ide-probe.c
+++ b/
drivers/ide/ide-probe.c
@@
-1694,8
+1694,8
@@
void ide_port_scan(ide_hwif_t *hwif)
hwif->present = 1;
ide_port_tune_devices(hwif);
- ide_acpi_port_init_devices(hwif);
ide_port_setup_devices(hwif);
+ ide_acpi_port_init_devices(hwif);
hwif_register_devices(hwif);
ide_proc_port_register_devices(hwif);
}