/* This initialises the LAN switch in the KS8695 to a known-good set of defaults.  */
static void __devinit ks8695_init_switch(struct ks8695_priv *ksp)
/* This initialises the LAN switch in the KS8695 to a known-good set of defaults.  */
static void __devinit ks8695_init_switch(struct ks8695_priv *ksp)
{
	u32 ctrl;
	ctrl = 0x40819e00;
	ctrl &= ~(SEC0_LLED1S | SEC0_LLED0S);
	ctrl |= (LLED0S_LINK | LLED1S_LINK_ACTIVITY);
	ctrl |= SEC0_ENABLE;
	writel(ctrl, ksp->phyiface_regs + KS8695_SEC0);
	writel(0x9400100, ksp->phyiface_regs + KS8695_SEC1);
}