eepro100: Fix multicast regression
authorStefan Weil <sw@weilnetz.de>
Tue, 10 Apr 2012 18:48:54 +0000 (20:48 +0200)
committerMichael S. Tsirkin <mst@redhat.com>
Wed, 25 Apr 2012 07:53:47 +0000 (10:53 +0300)
commit69f3ce78cc0b6941fc76dcbe2118269a16ddf043
tree775864c0b2a68a9ddf44dba24029e87c0e702d56
parenta821ce59338c79bb72dc844dd44ea53701965b2b
eepro100: Fix multicast regression

Commit 7fc8d918b9674c3e9233d6d25da2457345d414a0 removed code from
eepro100.c and replaced it by different code: the code in net.c
returns bits 31...26, but eepro100 needs bits 7...2.

This patch partially reverts 7fc8d918b9674c3e9233d6d25da2457345d414a0.
To avoid future problems, I renamed the function and changed the comment.

Signed-off-by: Stefan Weil <sw@weilnetz.de>
Acked-by: Jason Wang <jasowang@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
hw/eepro100.c