summaryrefslogtreecommitdiff
path: root/sys/dev/acpi/ipmi_acpi.c
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@cvs.openbsd.org>2020-03-29 09:31:12 +0000
committerMark Kettenis <kettenis@cvs.openbsd.org>2020-03-29 09:31:12 +0000
commit419068ee30dd78ad78c4a328a0db4bcd7967d2ed (patch)
tree27d59652e6c30bf4f5511a5be038cdf79f2de01c /sys/dev/acpi/ipmi_acpi.c
parent6e71a5850c3f8da6ab4e59e1008fee0a4fb45f3a (diff)
Add glue to make ipmi(4) attach to FDT.
ok deraadt@
Diffstat (limited to 'sys/dev/acpi/ipmi_acpi.c')
-rw-r--r--sys/dev/acpi/ipmi_acpi.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/acpi/ipmi_acpi.c b/sys/dev/acpi/ipmi_acpi.c
index 4cdb5fb0046..42d68c901dd 100644
--- a/sys/dev/acpi/ipmi_acpi.c
+++ b/sys/dev/acpi/ipmi_acpi.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ipmi_acpi.c,v 1.3 2020/01/06 12:35:57 kettenis Exp $ */
+/* $OpenBSD: ipmi_acpi.c,v 1.4 2020/03/29 09:31:10 kettenis Exp $ */
/*
* Copyright (c) 2018 Patrick Wildt <patrick@blueri.se>
*
@@ -119,6 +119,7 @@ ipmi_acpi_attach(struct device *parent, struct device *self, void *aux)
ia.iaa_if_rev = (sc->sc_srv >> 4);
ia.iaa_if_irq = -1;
ia.iaa_if_irqlvl = 0;
+ ia.iaa_if_iosize = 1;
ia.iaa_if_iospacing = sc->sc_iospacing;
ia.iaa_if_iobase = sc->sc_iobase;
ia.iaa_if_iotype = sc->sc_iotype;