OSDN Git Service

macio: don't reference serial_hd() directly within the device
authorMark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Tue, 13 Oct 2020 11:49:20 +0000 (12:49 +0100)
committerMark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Sun, 18 Oct 2020 15:21:42 +0000 (16:21 +0100)
commit348b8d1a76b4ab4b5a9ec756500547c5f2756d9c
tree7a72beff4b61ee208c7f11bfe3fb13311e7907bf
parente12ce85b2c79d83a340953291912875c30b3af06
macio: don't reference serial_hd() directly within the device

Instead use qdev_prop_set_chr() to configure the ESCC serial chardevs at the
Mac Old World and New World machine level.

Also remove the now obsolete comment referring to the use of serial_hd() and
the setting of user_creatable to false accordingly.

Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Message-Id: <20201013114922.2946-2-mark.cave-ayland@ilande.co.uk>
Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
hw/misc/macio/macio.c
hw/ppc/mac_newworld.c
hw/ppc/mac_oldworld.c