[PATCH] fs_enet & multicasting

Matvejchikov Ilya matvejchikov at gmail.com
Sat Apr 28 04:34:28 EST 2007


Good Day!

There is a problem in fs_enet driver. When TX times out or when PHY
transceiver adjusts the link the restart() function is called. But it
doesn't take into account the existing device multicast settings (and
IFF_PROMISC too). This little patch fixes the problem.

Signed-off-by: Matvejchikov Ilya <matvejchikov <at> gmail.com>
===================================================================
--- linux-2.6.21.orig/drivers/net/fs_enet/mac-fcc.c
+++ linux-2.6.21/drivers/net/fs_enet/mac-fcc.c
@@ -433,6 +433,8 @@
 	else
  		C32(fccp, fcc_fpsmr, FCC_PSMR_FDE | FCC_PSMR_LPB);

+	set_multicast_list(dev);
+
  	S32(fccp, fcc_gfmr, FCC_GFMR_ENR | FCC_GFMR_ENT);
 }



More information about the Linuxppc-embedded mailing list