diff options
author | Mark Kettenis <kettenis@cvs.openbsd.org> | 2021-01-23 12:10:09 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@cvs.openbsd.org> | 2021-01-23 12:10:09 +0000 |
commit | 510654c0ebd38535b730b1fa4bf738daa3101e6a (patch) | |
tree | 4d528ada5dcf148fbdda55fd91ea8c38c104535b /sys/arch/powerpc64/conf | |
parent | 63391001a741154e73ae4f055cf6fbe6041019d7 (diff) |
OPAL implements firmware calls that abstract communicating with the BMC over
IPMI. Use these calls to add support for impi(4) on PowerNV systems.
ok dlg@
Diffstat (limited to 'sys/arch/powerpc64/conf')
-rw-r--r-- | sys/arch/powerpc64/conf/GENERIC | 3 | ||||
-rw-r--r-- | sys/arch/powerpc64/conf/files.powerpc64 | 5 |
2 files changed, 6 insertions, 2 deletions
diff --git a/sys/arch/powerpc64/conf/GENERIC b/sys/arch/powerpc64/conf/GENERIC index 75e26260d84..cba5f59f2cf 100644 --- a/sys/arch/powerpc64/conf/GENERIC +++ b/sys/arch/powerpc64/conf/GENERIC @@ -1,4 +1,4 @@ -# $OpenBSD: GENERIC,v 1.23 2021/01/23 05:08:36 thfr Exp $ +# $OpenBSD: GENERIC,v 1.24 2021/01/23 12:10:08 kettenis Exp $ # # For further information on compiling OpenBSD kernels, see the config(8) # man page. @@ -21,6 +21,7 @@ config bsd swap generic mainbus0 at root cpu0 at mainbus? +ipmi0 at fdt? opal0 at fdt? opalcons* at fdt? opalsens* at fdt? diff --git a/sys/arch/powerpc64/conf/files.powerpc64 b/sys/arch/powerpc64/conf/files.powerpc64 index 9f4fb64fbef..d4bc2b3e349 100644 --- a/sys/arch/powerpc64/conf/files.powerpc64 +++ b/sys/arch/powerpc64/conf/files.powerpc64 @@ -1,4 +1,4 @@ -# $OpenBSD: files.powerpc64,v 1.25 2020/10/26 21:13:56 kettenis Exp $ +# $OpenBSD: files.powerpc64,v 1.26 2021/01/23 12:10:08 kettenis Exp $ maxpartitions 16 maxusers 2 8 128 @@ -86,6 +86,9 @@ device opalsens attach opalsens at fdt file arch/powerpc64/dev/opalsens.c opalsens +attach ipmi at fdt with ipmi_opal +file arch/powerpc64/dev/ipmi_opal.c ipmi_opal + device phb: pcibus attach phb at fdt file arch/powerpc64/dev/phb.c phb |