/* This initialises a KS8695's WAN phy to sensible values for autonegotiation etc.  */
static void __devinit ks8695_init_wan_phy(struct ks8695_priv *ksp)
/* This initialises a KS8695's WAN phy to sensible values for autonegotiation etc.  */
static void __devinit ks8695_init_wan_phy(struct ks8695_priv *ksp)
{
	u32 ctrl;
	ctrl = (WMC_WANAP | WMC_WANA100F | WMC_WANA100H |
		WMC_WANA10F | WMC_WANA10H);
	ctrl |= (WLED0S_ACTIVITY | WLED1S_LINK);
	ctrl |= WMC_WANR;
	writel(ctrl, ksp->phyiface_regs + KS8695_WMC);
	writel(0, ksp->phyiface_regs + KS8695_WPPM);
	writel(0, ksp->phyiface_regs + KS8695_PPS);
}