smc911x: Fix multicast handling
commit7b31f7ffa9ed7ba5fbe1cab8fb17a8c545e6a0eb
authorPeter Korsgaard <jacmet@sunsite.dk>
Thu, 22 Nov 2007 11:25:13 +0000 (22 12:25 +0100)
committerJeff Garzik <jeff@garzik.org>
Sat, 24 Nov 2007 03:09:01 +0000 (23 22:09 -0500)
tree9851d34e83934a685ddf70f65c4ba17be7cf80e9
parent8b31cfbcd1b54362ef06c85beb40e65a349169a2
smc911x: Fix multicast handling

smc911x_set_multicast_list fails to fill out the multicast hash table
correctly; Bit 1 was used rather than bit 5 to decide if the lower or
upper register should be used.

The function is at the same time cleaned up by calling ether_crc rather
than using it's own bit reversal table.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/net/smc911x.c