]> err.no Git - linux-2.6/commit
[PATCH] powerpc: Fix ide-pmac sysfs entry
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Sat, 20 May 2006 21:59:53 +0000 (14:59 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Sun, 21 May 2006 19:59:16 +0000 (12:59 -0700)
commit22192ccd6d1dfea2a41e40442997ccad5b7b160e
treeb5e0662ffee5e8776cb5165e9d4aafdd6cafaec2
parentc44b20d51142acdc9c66108b758c0454a7e2ce11
[PATCH] powerpc: Fix ide-pmac sysfs entry

It looks like the generic ide code now wants ide_init_hwif_ports() to set
the parent struct device into the ide_hw structure (new field ?).  Without
this, the mac ide code can cause the ide probing code to explode in flames
in sysfs registration due to what looks like a stale pointer in there
(happens when removing/re-inserting one of the hotswap media bays on some
laptops).

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: Bartlomiej Zolnierkiewicz <B.Zolnierkiewicz@elka.pw.edu.pl>
Cc: Alan Cox <alan@lxorguk.ukuu.org.uk>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/ide/ppc/pmac.c