Re: [PATCH] netdev/fec.c: add phylib supporting to enable carrierdetection

From: Sascha Hauer
Date: Wed Mar 31 2010 - 04:12:21 EST


On Fri, Mar 26, 2010 at 12:29:57PM +0200, Amit Kucheria wrote:
> On 10 Mar 26, Bryan Wu wrote:
> > BugLink: http://bugs.launchpad.net/bugs/457878
> >
> > - removed old MII phy control code
> > - add phylib supporting
> > - add ethtool interface to make user space NetworkManager works
> >
> > Tested on Freescale i.MX51 Babbage board.
> >
> > This patch is based on a patch from Frederic Rodo <fred.rodo@xxxxxxxxx>
> >
> > Cc: Frederic Rodo <fred.rodo@xxxxxxxxx>
> > Signed-off-by: Bryan Wu <bryan.wu@xxxxxxxxxxxxx>
>
> While I ack this patch, I wonder if we should add to the various board
> Kconfig options, a dependency select'ing the right phylib for that board.
>
> This would prevent breakage of ethernet on those boards because they forgot
> to select the right phylib after this change.

I wouldn't go that far. I never saw a board which doesn't work with the
generic phy implementation, so I would only select the specific phy if
I knew that the generic phy does not work.

Sascha


--
Pengutronix e.K. | |
Industrial Linux Solutions | http://www.pengutronix.de/ |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/