summaryrefslogtreecommitdiffstats
path: root/hw/net/eepro100.c
diff options
context:
space:
mode:
authorMark Cave-Ayland2017-12-15 19:41:48 +0100
committerJason Wang2017-12-22 03:00:47 +0100
commit8f90bc2f8fbba3c98116e80afd537fb0ca90be2e (patch)
tree39239882bcdd1878fba52fe4e79942680065b839 /hw/net/eepro100.c
parentsunhme: switch sunhme over to use net_crc32_le() (diff)
downloadqemu-8f90bc2f8fbba3c98116e80afd537fb0ca90be2e.tar.gz
qemu-8f90bc2f8fbba3c98116e80afd537fb0ca90be2e.tar.xz
qemu-8f90bc2f8fbba3c98116e80afd537fb0ca90be2e.zip
sungem: fix multicast filter CRC calculation
From the Linux sungem driver, we know that the multicast filter CRC is implemented using ether_crc_le() which isn't the same as calling zlib's crc32() function (the zlib implementation requires a complemented initial value and also returns the complemented result). Fix the multicast filter by simply using the new net_crc32_le() function. Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk> Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Signed-off-by: Jason Wang <jasowang@redhat.com>
Diffstat (limited to 'hw/net/eepro100.c')
0 files changed, 0 insertions, 0 deletions