* [PATCH 13/21] ide: add hwif->chipset fixup to ide_device_add()
@ 2007-11-18 22:24 Bartlomiej Zolnierkiewicz
2007-11-27 12:53 ` Sergei Shtylyov
0 siblings, 1 reply; 2+ messages in thread
From: Bartlomiej Zolnierkiewicz @ 2007-11-18 22:24 UTC (permalink / raw)
To: linux-ide
Add hwif->chipset fixup identical to the one in ideprobe_init()
to ide_device_add().
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
---
drivers/ide/ide-probe.c | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
Index: b/drivers/ide/ide-probe.c
===================================================================
--- a/drivers/ide/ide-probe.c
+++ b/drivers/ide/ide-probe.c
@@ -1412,8 +1412,12 @@ int ide_device_add(u8 idx[4])
hwif = &ide_hwifs[idx[i]];
- if (hwif->present)
+ if (hwif->present) {
+ if (hwif->chipset == ide_unknown ||
+ hwif->chipset == ide_forced)
+ hwif->chipset = ide_generic;
hwif_register_devices(hwif);
+ }
}
for (i = 0; i < 4; i++) {
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH 13/21] ide: add hwif->chipset fixup to ide_device_add()
2007-11-18 22:24 [PATCH 13/21] ide: add hwif->chipset fixup to ide_device_add() Bartlomiej Zolnierkiewicz
@ 2007-11-27 12:53 ` Sergei Shtylyov
0 siblings, 0 replies; 2+ messages in thread
From: Sergei Shtylyov @ 2007-11-27 12:53 UTC (permalink / raw)
To: Bartlomiej Zolnierkiewicz; +Cc: linux-ide
Bartlomiej Zolnierkiewicz wrote:
> Add hwif->chipset fixup identical to the one in ideprobe_init()
> to ide_device_add().
> Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Acked-by: Sergei Shtylyov <sshtylyov@ru.mvista.com>
MBR, Sergei
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2007-11-27 12:53 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-11-18 22:24 [PATCH 13/21] ide: add hwif->chipset fixup to ide_device_add() Bartlomiej Zolnierkiewicz
2007-11-27 12:53 ` Sergei Shtylyov
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).