LinuxPPC-Dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
* enabling MDIO on ppc/8xx_io/fec.c causes ioctl problems
@ 2006-10-30 19:07 Antonio Di Bacco
  2006-10-30 19:19 ` Vitaly Bordug
  0 siblings, 1 reply; 2+ messages in thread
From: Antonio Di Bacco @ 2006-10-30 19:07 UTC (permalink / raw)
  To: linuxppc-embedded

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.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2006-10-30 19:19 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-10-30 19:07 enabling MDIO on ppc/8xx_io/fec.c causes ioctl problems Antonio Di Bacco
2006-10-30 19:19 ` Vitaly Bordug

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox