[OpenBIOS] [PATCHv2 4/6] escc.c: add empty slot-names property to serial ports
Mark Cave-Ayland
mark.cave-ayland at ilande.co.uk
Sat Feb 20 18:18:34 CET 2016
This is required to enable the ports to be detected by OS X.
Signed-off-by: Mark Cave-Ayland <mark.cave-ayland at ilande.co.uk>
---
openbios-devel/drivers/escc.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/openbios-devel/drivers/escc.c b/openbios-devel/drivers/escc.c
index c770e23..ebfe242 100644
--- a/openbios-devel/drivers/escc.c
+++ b/openbios-devel/drivers/escc.c
@@ -466,6 +466,8 @@ escc_add_channel(const char *path, const char *node, phys_addr_t addr,
NEWWORLD(set_property(dnode, "interrupts",
(char *)&props, 3 * sizeof(cell)));
+ set_int_property(dnode, "slot-names", 0);
+
device_end();
uart_init_line((unsigned char*)addr + offset + reg_offsets[legacy][index][0],
--
1.7.10.4
More information about the OpenBIOS
mailing list