summary refs log tree commit diff stats
path: root/system/arch_init.c
diff options
context:
space:
mode:
authorPeter Maydell <peter.maydell@linaro.org>2025-02-28 17:48:01 +0000
committerPhilippe Mathieu-Daudé <philmd@linaro.org>2025-03-11 20:03:21 +0100
commite21fe8fb15e70dd8110fd5530521a2e41dc2c201 (patch)
treeb11e365dd1551fce02385996247b9a81ee847d08 /system/arch_init.c
parentaad6f264add3f2be72acb660816588fe09110069 (diff)
downloadfocaccia-qemu-e21fe8fb15e70dd8110fd5530521a2e41dc2c201.tar.gz
focaccia-qemu-e21fe8fb15e70dd8110fd5530521a2e41dc2c201.zip
hw/net/smc91c111: Use MAX_PACKET_SIZE instead of magic numbers
Now we have a constant for the maximum packet size, we can use it
to replace various hardcoded 2048 values.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-ID: <20250228174802.1945417-4-peter.maydell@linaro.org>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Diffstat (limited to 'system/arch_init.c')
0 files changed, 0 insertions, 0 deletions