diff options
author | David Gwynne <dlg@cvs.openbsd.org> | 2011-09-28 11:02:38 +0000 |
---|---|---|
committer | David Gwynne <dlg@cvs.openbsd.org> | 2011-09-28 11:02:38 +0000 |
commit | 4c46b1d7addffbe846cd96c8b30ca1255137b5ee (patch) | |
tree | 086bfedef741e0c932c41674918407ab85756e23 /sys/arch | |
parent | f92b044711b5becf1dc2be34bb919dc1aa331172 (diff) |
disable the fifo on m series systems by telling the driver its a 16550
which stops the MI com code from probing it as a 16550a.
hopefully this will prevent the awesome faults on the mainboard from
locking the system up.
ok kettenis@
Diffstat (limited to 'sys/arch')
-rw-r--r-- | sys/arch/sparc64/dev/com_ebus.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/sparc64/dev/com_ebus.c b/sys/arch/sparc64/dev/com_ebus.c index 71800b39eca..7d2541abf88 100644 --- a/sys/arch/sparc64/dev/com_ebus.c +++ b/sys/arch/sparc64/dev/com_ebus.c @@ -1,4 +1,4 @@ -/* $OpenBSD: com_ebus.c,v 1.20 2009/01/12 22:17:36 kettenis Exp $ */ +/* $OpenBSD: com_ebus.c,v 1.21 2011/09/28 11:02:37 dlg Exp $ */ /* $NetBSD: com_ebus.c,v 1.6 2001/07/24 19:27:10 eeh Exp $ */ /* @@ -212,7 +212,7 @@ com_ebus_attach(struct device *parent, struct device *self, void *aux) */ if (OF_getprop(ea->ea_node, "compatible", buf, sizeof(buf)) > 0 && strcmp(buf, "FJSV,su") == 0) - sc->sc_fifolen = 1; + sc->sc_uarttype = COM_UART_16550; if (OF_getproplen(ea->ea_node, "keyboard") == 0) printf(": keyboard"); |