LinuxPPC-Dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Antonio Di Bacco <antonio.dibacco@aruba.it>
To: linuxppc-embedded@ozlabs.org
Subject: enabling MDIO on ppc/8xx_io/fec.c causes ioctl problems
Date: Mon, 30 Oct 2006 20:07:29 +0100	[thread overview]
Message-ID: <200610302007.30041.antonio.dibacco@aruba.it> (raw)

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.

             reply	other threads:[~2006-10-30 19:13 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-10-30 19:07 Antonio Di Bacco [this message]
2006-10-30 19:19 ` enabling MDIO on ppc/8xx_io/fec.c causes ioctl problems Vitaly Bordug

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200610302007.30041.antonio.dibacco@aruba.it \
    --to=antonio.dibacco@aruba.it \
    --cc=linuxppc-embedded@ozlabs.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox