/* Ethernet MAC clocks: only revelant on 6358, silently enable misc clocks  */
static void enetx_set(struct clk *clk, int enable)
/* Ethernet MAC clocks: only revelant on 6358, silently enable misc clocks  */
static void enetx_set(struct clk *clk, int enable)
{
	if (enable)
		clk_enable_unlocked(&clk_enet_misc);
	else
		clk_disable_unlocked(&clk_enet_misc);
	if (BCMCPU_IS_6358()) {
		u32 mask;
		if (clk->id == 0)
			mask = CKCTL_6358_ENET0_EN;
		else
			mask = CKCTL_6358_ENET1_EN;
		bcm_hwclock_set(mask, enable);
	}
}