Date: Fri, 23 Nov 2018 14:21:33 +0100 From: Samy Mahmoudi <samy.mahmoudi@gmail.com> To: bwidawsk@freebsd.org Cc: matias@pizarro.net, freebsd-current@freebsd.org Subject: Re: ACPI Error: No handler for Region [ECOR] Message-ID: <CAFigVTMFsxta8FNWhpAxCVM_NRa5U9yjsonfs2tWNNHMe205BA@mail.gmail.com> In-Reply-To: <20181123050201.63kv32vnjomkeqid@smtp.freebsd.org> References: <75fb681f321cd2913f17e8eceffa4cb9@pizarro.net> <CAFigVTMrcm%2B84EBiJg5cKgoN=-D6z_c=EqEQZ=bNsWR0i4Av4Q@mail.gmail.com> <CAFigVTNNJ9hiTCCd4Jq0uC9f7mQrMv74onne65k2ptvMsSdbAQ@mail.gmail.com> <20181123050201.63kv32vnjomkeqid@smtp.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Hi all, "patch -p 1 < your_patch" gives me the following *.rej file: @@ -362,7 +362,8 @@ ret = 0; goto out; - } + } else + ecdt = 0; ret = ACPI_ID_PROBE(device_get_parent(dev), dev, ec_ids, NULL); if (ret > 0) @@ -422,16 +434,6 @@ /* Store the values we got from the namespace for attach. */ acpi_set_private(dev, params); - /* - * Check for a duplicate probe. This can happen when a probe via ECDT - * succeeded already. If this is a duplicate, disable this device. - */ - peer = devclass_get_device(acpi_ec_devclass, params->uid); - if (peer == NULL || !device_is_alive(peer)) - ret = 0; - else - device_disable(dev); - if (buf.Pointer) AcpiOsFree(buf.Pointer); out: Reject of hunk 1 and hunk 3 may be due to indentation. Anyway, I manually patched these two parts and I am now waiting for kernel build.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAFigVTMFsxta8FNWhpAxCVM_NRa5U9yjsonfs2tWNNHMe205BA>