[PATCH RFC] ixp4xx_eth: Allow setting the MDIO bus name in platform data

Krzysztof Halasa khc at pm.waw.pl
Mon Mar 24 16:34:38 EDT 2014


Simon Kågström <simon.kagstrom at netinsight.net> writes:

> Allows using e.g., a fixed MDIO bus with the ixp4xx_eth driver.
> Example:
>
>   static struct eth_plat_info board_plat_eth_internal[] = {
> 	{
> 		.mdio_bus_id	= "fixed-0",
> 		.phy		= 31,
> 		.rxq		= 4,
> 		.txreadyq	= 21,
> 		.hwaddr		= {0x02, 0x00, 0x00, 0x00, 0x00, 0x00},
> 	}
>   };

Why do we need it? I'm not sure I know what constitutes a "fixed MDIO
bus".
-- 
Krzysztof Halasa



More information about the linux-arm-kernel mailing list