Skip to content

Commit

Permalink
powerpc/mpc8313erdb: fix kernel panic because mdio device is not probed
Browse files Browse the repository at this point in the history
Probe the new mdio node added by b31a1d8.  Fix kernel panic problem when
gianfar driver wants to get the of_platform_device of that mdio.

Signed-off-by: Li Yang <leoli@freescale.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
  • Loading branch information
Li Yang authored and Kumar Gala committed Jan 26, 2009
1 parent 6e11521 commit 344b628
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion arch/powerpc/boot/dts/mpc8313erdb.dts
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@
cell-index = <0>;
device_type = "network";
model = "eTSEC";
compatible = "gianfar", "simple-bus";
compatible = "gianfar";
reg = <0x24000 0x1000>;
local-mac-address = [ 00 00 00 00 00 00 ];
interrupts = <37 0x8 36 0x8 35 0x8>;
Expand Down
1 change: 1 addition & 0 deletions arch/powerpc/platforms/83xx/mpc831x_rdb.c
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ static int __init mpc831x_rdb_probe(void)

static struct of_device_id __initdata of_bus_ids[] = {
{ .compatible = "simple-bus" },
{ .compatible = "gianfar" },
{},
};

Expand Down

0 comments on commit 344b628

Please sign in to comment.