/* Ethernet MAC "misc" clock: dma clocks and main clock on 6348  */
static void enet_misc_set(struct clk *clk, int enable)
/* Ethernet MAC "misc" clock: dma clocks and main clock on 6348  */
static void enet_misc_set(struct clk *clk, int enable)
{
	u32 mask;
	if (BCMCPU_IS_6338())
		mask = CKCTL_6338_ENET_EN;
	else if (BCMCPU_IS_6345())
		mask = CKCTL_6345_ENET_EN;
	else if (BCMCPU_IS_6348())
		mask = CKCTL_6348_ENET_EN;
	else
		mask = CKCTL_6358_EMUSB_EN;
	bcm_hwclock_set(mask, enable);
}