Thread (4 messages) flat view 4 messages, 3 authors, 2006-06-16

Re: Binding FCC interfaces to device names in reverse order

From: Laurent Pinchart <hidden>
Date: 2006-06-16 14:49:09

quoted
Does anyone know why changing the device ids breaks the fs_enet driver ?
Obviously, because board-specific platform_data fixup use that id field to
detect what soc device is that - fcc1 or fcc2 this case. So the phy's will
be wrong-assigned, as well as other stuff.

To change order pdevs are registered, you may try to disable all the fccs
at the startup, and then enable them after ppc_sys_init, or just shoot
enable-disable seq (this was't tested at all, but supposed to work).
Enabling the FCCs in a device_initcall() call instead of arch_initcall() 
works. I had to call ppc_sys_device_fixup manually.

Thanks for your help.

Laurent Pinchart
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help