[PATCH v2 1/1] powerpc: Fix multicast problem in fs_enet driver
davem at davemloft.net
Fri Apr 22 09:59:41 EST 2011
From: Andrea Galbusera <gizero at gmail.com>
Date: Thu, 21 Apr 2011 14:21:21 +0200
> mac-fec.c was setting individual UDP address registers instead of multicast
> group address registers when joining a multicast group.
> This prevented from correctly receiving UDP multicast packets.
> According to datasheet, replaced hash_table_high and hash_table_low
> with grp_hash_table_high and grp_hash_table_low respectively.
> Also renamed hash_table_* with grp_hash_table_* in struct fec declaration
> for 8xx: these registers are used only for multicast there.
> Tested on a MPC5121 based board.
> Build tested also against mpc866_ads_defconfig.
> Signed-off-by: Andrea Galbusera <gizero at gmail.com>
More information about the Linuxppc-dev