Mark Kettenis <mark.kette...@xs4all.nl> writes:

>> From: Dave Voutila <d...@sisu.io>
>> Date: Sun, 12 Feb 2023 12:47:56 -0500
>>
>> Noticed on my X1 Carbon gen10 that ichiic(4) complains about a timeout
>> while doing a bus scan as part of attach. Traced it down to the fact we
>> force polling if the global cold==1 even if the device reports
>> supporting interrupts. This fixes the issue and lets the bus scan
>> complete without error.
>>
>> The line I'm changing goes back 18 years(!) and the commit message
>> provided by grange@ doesn't make sense to me either, but maybe I'm
>> missing something?
>>
>>   "Don't allow slave devices to do polling during autoconf." [1]
>>
>> [1] 
>> https://github.com/openbsd/src/commit/7ecfa26ef3eb9115fe3e4a564e7030fb789c9c3b.patch
>>
>> OK?
>
> nope; during autoconf interrupts don't work, so polling is the right
> approach

sigh, foiled by autoconf.

>
> something else must be wrong with your machine
>

Pretty sure it's not my machine, but the driver. Compared to Linux and
FreeBSD, ichiic(4) is showing some age. I'll have to dig deeper...

Reply via email to