From: Vitaly Bordug <vbordug@ru.mvista.com>
To: Antonio Di Bacco <antonio.dibacco@aruba.it>
Cc: linuxppc-embedded@ozlabs.org
Subject: Re: enabling MDIO on ppc/8xx_io/fec.c causes ioctl problems
Date: Mon, 30 Oct 2006 22:19:19 +0300 [thread overview]
Message-ID: <20061030221919.6b2087f4@vitb.ru.mvista.com> (raw)
In-Reply-To: <200610302007.30041.antonio.dibacco@aruba.it>
On Mon, 30 Oct 2006 20:07:29 +0100
Antonio Di Bacco <antonio.dibacco@aruba.it> 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
prev parent reply other threads:[~2006-10-30 19:19 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
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 message]
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=20061030221919.6b2087f4@vitb.ru.mvista.com \
--to=vbordug@ru.mvista.com \
--cc=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