[PATCH] add field to struct ocp_func_emac_data for platform-specific unsupported PHY features

Eugene Surovegin ebs at ebshome.net
Sun Aug 14 05:32:21 EST 2005


On Thu, Aug 11, 2005 at 01:42:07PM -0700, Wade Farnsworth wrote:

[snip]

> diff -upr linux-2.6/include/asm-ppc/ibm_ocp.h linux-2.6-dev/include/asm-ppc/ibm_ocp.h
> --- linux-2.6/include/asm-ppc/ibm_ocp.h	2005-08-11 13:30:02.000000000 -0700
> +++ linux-2.6-dev/include/asm-ppc/ibm_ocp.h	2005-08-11 13:12:34.000000000 -0700
> @@ -67,6 +67,7 @@ struct ocp_func_emac_data {
>  	int	phy_mode;	/* PHY type or configurable mode */
>  	u8	mac_addr[6];	/* EMAC mac address */
>  	u32	phy_map;	/* EMAC phy map */
> +	u32	phy_feat_exc;	/* Excluded PHY features */
>  };
>  
>  /* Sysfs support */

Please, update OCP_SYSFS_EMAC_DATA() macro as well.

-- 
Eugene




More information about the Linuxppc-embedded mailing list