diff options
author | Peter Maydell <peter.maydell@linaro.org> | 2025-02-28 17:48:01 +0000 |
---|---|---|
committer | Philippe Mathieu-Daudé <philmd@linaro.org> | 2025-03-11 20:03:21 +0100 |
commit | e21fe8fb15e70dd8110fd5530521a2e41dc2c201 (patch) | |
tree | b11e365dd1551fce02385996247b9a81ee847d08 /rust/qemu-api/src | |
parent | aad6f264add3f2be72acb660816588fe09110069 (diff) | |
download | qemu-e21fe8fb15e70dd8110fd5530521a2e41dc2c201.zip qemu-e21fe8fb15e70dd8110fd5530521a2e41dc2c201.tar.gz qemu-e21fe8fb15e70dd8110fd5530521a2e41dc2c201.tar.bz2 |
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 'rust/qemu-api/src')
0 files changed, 0 insertions, 0 deletions