]> git.ipfire.org Git - thirdparty/qemu.git/commit
hw/net/smc91c111: Use MAX_PACKET_SIZE instead of magic numbers
authorPeter Maydell <peter.maydell@linaro.org>
Fri, 28 Feb 2025 17:48:01 +0000 (17:48 +0000)
committerPhilippe Mathieu-Daudé <philmd@linaro.org>
Tue, 11 Mar 2025 19:03:21 +0000 (20:03 +0100)
commite21fe8fb15e70dd8110fd5530521a2e41dc2c201
treeb11e365dd1551fce02385996247b9a81ee847d08
parentaad6f264add3f2be72acb660816588fe09110069
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>
hw/net/smc91c111.c