On Mon, 30 Oct 2006 20:07:29 +0100
Antonio Di Bacco <[EMAIL PROTECTED]> wrote:

> I enabled the use of MDIO in the fec.c driver but now the driver doesn't 
> handle some ioctls that ifconfig sends to it. I saw that there is this code 
> snippet in the driver:
> 
> #ifdef        CONFIG_USE_MDIO
>       dev->do_ioctl = fec_enet_ioctl;
> 
>       for (i=0; i<NMII-1; i++)
>               mii_cmds[i].mii_next = &mii_cmds[i+1];
>       mii_free = mii_cmds;
> #endif        /* CONFIG_USE_MDIO */
> 
> But fec_enet_ioctl treats only mii related ioctls.
> 
> What am I missing?
> 
The 8xx_io/ stuff is obsoleted long ago. You should use drivers/fs_enet/* for 
your FEC eth instead.
arch/ppc/mpc885_setup.c can hand some guidance on ho to do that.


-- 
Sincerely, 
Vitaly
_______________________________________________
Linuxppc-embedded mailing list
[email protected]
https://ozlabs.org/mailman/listinfo/linuxppc-embedded

Reply via email to