enabling MDIO on ppc/8xx_io/fec.c causes ioctl problems

Antonio Di Bacco antonio.dibacco at aruba.it
Tue Oct 31 06:07:29 EST 2006


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?

Thank you,
Antonio.



More information about the Linuxppc-embedded mailing list