diff options
author | Mark Kettenis <kettenis@cvs.openbsd.org> | 2018-05-21 07:23:15 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@cvs.openbsd.org> | 2018-05-21 07:23:15 +0000 |
commit | 59053986f929ee294085c3aad121804f40c0f15a (patch) | |
tree | 353df4c17bd8c63e948fc0cc752fcc40eba9c2f5 /sys | |
parent | 326ae33772f9faa82867739d32ac19b50f853799 (diff) |
Pass interrupt description along as well.
ok mlarkin@
Diffstat (limited to 'sys')
-rw-r--r-- | sys/dev/acpi/dwiic_acpi.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/dev/acpi/dwiic_acpi.c b/sys/dev/acpi/dwiic_acpi.c index 010d1a8a946..1ae1d79c057 100644 --- a/sys/dev/acpi/dwiic_acpi.c +++ b/sys/dev/acpi/dwiic_acpi.c @@ -1,4 +1,4 @@ -/* $OpenBSD: dwiic_acpi.c,v 1.6 2018/05/20 09:30:00 kettenis Exp $ */ +/* $OpenBSD: dwiic_acpi.c,v 1.7 2018/05/21 07:23:14 kettenis Exp $ */ /* * Synopsys DesignWare I2C controller * @@ -395,6 +395,9 @@ dwiic_acpi_found_hid(struct aml_node *node, void *arg) ia.ia_addr = crs.i2c_addr; ia.ia_cookie = node->parent; + if (crs.irq_int != 0 || crs.gpio_int_node != NULL) + ia.ia_intr = &crs; + config_found(sc->sc_iic, &ia, dwiic_i2c_print); node->parent->attached = 1; |