diff options
Diffstat (limited to 'sys/dev/pci/dwiic_pci.c')
-rw-r--r-- | sys/dev/pci/dwiic_pci.c | 14 |
1 files changed, 4 insertions, 10 deletions
diff --git a/sys/dev/pci/dwiic_pci.c b/sys/dev/pci/dwiic_pci.c index 520c1aaea81..d685e5dcc72 100644 --- a/sys/dev/pci/dwiic_pci.c +++ b/sys/dev/pci/dwiic_pci.c @@ -1,4 +1,4 @@ -/* $OpenBSD: dwiic_pci.c,v 1.8 2019/07/16 19:12:32 jcs Exp $ */ +/* $OpenBSD: dwiic_pci.c,v 1.9 2019/07/31 16:04:16 jcs Exp $ */ /* * Synopsys DesignWare I2C controller * PCI attachment @@ -206,14 +206,8 @@ dwiic_pci_bus_scan(struct device *iic, struct i2cbus_attach_args *iba, sc->sc_iic = iic; - if (sc->sc_devnode != NULL) { - /* - * XXX: until we can figure out why interrupts don't arrive for - * i2c slave devices on intel 100 series and newer, force - * polling for ihidev. - */ - sc->sc_poll_ihidev = 1; - +#if NACPI > 0 + if (sc->sc_devnode != NULL) aml_find_node(sc->sc_devnode, "_HID", dwiic_acpi_found_hid, sc); - } +#endif } |