/* @ks : The chip information This routine removes all mcast addresses set in the hardware.  */
static void ks_clear_mcast(struct ks_net *ks)
/* @ks : The chip information This routine removes all mcast addresses set in the hardware.  */
static void ks_clear_mcast(struct ks_net *ks)
{
	u16	i, mcast_size;
	for (i = 0; i < HW_MCAST_SIZE; i++)
		ks->mcast_bits[i] = 0;
	mcast_size = HW_MCAST_SIZE >> 2;
	for (i = 0; i < mcast_size; i++)
		ks_wrreg16(ks, KS_MAHTR0 + (2*i), 0);
}