aboutsummaryrefslogtreecommitdiff
path: root/net/net.c
diff options
context:
space:
mode:
authorMark Cave-Ayland <mark.cave-ayland@ilande.co.uk>2022-05-04 10:25:41 +0100
committerMark Cave-Ayland <mark.cave-ayland@ilande.co.uk>2022-05-08 18:52:37 +0100
commitfe744ca3eee65e5d666a06e72c1e6b671eb2c74a (patch)
tree3c56f4e63f110b444fa699309457f10f63dc2c9e /net/net.c
parente004499fd52f0bb10e1e77bedc3be0dbdd2e0f52 (diff)
downloadqemu-fe744ca3eee65e5d666a06e72c1e6b671eb2c74a.zip
qemu-fe744ca3eee65e5d666a06e72c1e6b671eb2c74a.tar.gz
qemu-fe744ca3eee65e5d666a06e72c1e6b671eb2c74a.tar.bz2
lasi: fix serial port initialisation
The existing code checks for serial_hd(1) but sets the LASI serial port chardev to serial_hd(0). Use serial_hd(1) for the LASI serial port and also set the serial port endian to DEVICE_BIG_ENDIAN (which also matches the endian of the existing serial port). Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk> Acked-by: Helge Deller <deller@gmx.de> Message-Id: <20220504092600.10048-32-mark.cave-ayland@ilande.co.uk> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Diffstat (limited to 'net/net.c')
0 files changed, 0 insertions, 0 deletions