ne2000: use inline net_crc32() and bitshift instead of compute_mcast_idx()
commit084e2b111bb9c809fd53563e3b5ef1ea3bef08ad
authorMark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Fri, 15 Dec 2017 18:41:53 +0000 (15 18:41 +0000)
committerJason Wang <jasowang@redhat.com>
Fri, 22 Dec 2017 02:01:27 +0000 (22 10:01 +0800)
tree0acb7dc009cb5b62f3d94620525662b338533321
parent4227be63f081e939ae7313b1921d8f60a5d8d714
ne2000: use inline net_crc32() and bitshift instead of compute_mcast_idx()

This makes it much easier to compare the multicast CRC calculation endian and
bitshift against the Linux driver implementation.

Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Signed-off-by: Jason Wang <jasowang@redhat.com>
hw/net/ne2000.c