diff options
author | Mark Kettenis <kettenis@cvs.openbsd.org> | 2020-10-19 18:54:59 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@cvs.openbsd.org> | 2020-10-19 18:54:59 +0000 |
commit | 782003efa79a69419b8068e19780dfba05e01016 (patch) | |
tree | 461c5543ae8c61575e58ae8e76cbbb3c0278995e /sys/arch/powerpc64/include | |
parent | 9d1cce4d7f36a4376b7e1aab7d9b99223ee65450 (diff) |
Only use OPAL_CONSOLE_FLUSH if the firmware implements it. Should help
on POWER8 machines with older versions of OPAL.
Diffstat (limited to 'sys/arch/powerpc64/include')
-rw-r--r-- | sys/arch/powerpc64/include/opal.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/arch/powerpc64/include/opal.h b/sys/arch/powerpc64/include/opal.h index 35158983020..b94e5f0a94b 100644 --- a/sys/arch/powerpc64/include/opal.h +++ b/sys/arch/powerpc64/include/opal.h @@ -1,4 +1,4 @@ -/* $OpenBSD: opal.h,v 1.17 2020/10/10 13:19:50 kettenis Exp $ */ +/* $OpenBSD: opal.h,v 1.18 2020/10/19 18:54:58 kettenis Exp $ */ /* * Copyright (c) 2020 Mark Kettenis <kettenis@openbsd.org> @@ -80,6 +80,7 @@ #define OPAL_ASYNC_COMPLETION -15 /* OPAL_POLL_EVENT */ +#define OPAL_EVENT_CONSOLE_OUTPUT 0x00000008 #define OPAL_EVENT_CONSOLE_INPUT 0x00000010 /* OPAL_PCI_EEH_FREEZE_CLEAR */ |