hw/net: Use the IEC binary prefix definitions
authorPhilippe Mathieu-Daudé <f4bug@amsat.org>
Mon, 25 Jun 2018 12:42:26 +0000 (09:42 -0300)
committerPaolo Bonzini <pbonzini@redhat.com>
Mon, 2 Jul 2018 13:41:16 +0000 (15:41 +0200)
commit872a2b7c4dcad2d4fa2bd34747c37a28a76cec2b
treed4b75bd1e12d98a74b0740be36f561c5833dec1b
parentd471bf3ebbabd14f092655485f7562895b22e6b0
hw/net: Use the IEC binary prefix definitions

It eases code review, unit is explicit.

Patch generated using:

  $ git grep -E '(1024|2048|4096|8192|(<<|>>).?(10|20|30))' hw/ include/hw/

and modified manually.

Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Stefan Weil <sw@weilnetz.de>
Message-Id: <20180625124238.25339-35-f4bug@amsat.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
hw/net/e1000e.c
hw/net/e1000x_common.c
hw/net/eepro100.c
hw/net/ne2000.h
include/hw/net/allwinner_emac.h
This page took 0.02618 seconds and 4 git commands to generate.