Re: ACPI 'driver bug: Unable to set devclass'

From: Andriy Gapon <avg_at_FreeBSD.org>
Date: Thu, 17 May 2012 18:33:56 +0300
on 17/05/2012 17:05 John Baldwin said the following:
> On Wednesday, May 16, 2012 4:07:43 pm John Baldwin wrote:
>> Oh, whoops.  Actually, the right way to do this I think is bus_hint_device_unit()
>> (and/or, not make the unit number in cpuX mean anything at all, but use a separate
>> ivar to track what PCPU_GET(cpuid) a given cpuX device corresponds to).  I think
>> the last approach is really the right way to fix this.
> 
> I haven't been able to try this yet, but I have a first cut at
> www.freebsd.org/~jhb/patches/acpi_cpu.patch
> 

The patch has not been compile-tested? :)

-- 
Andriy Gapon
Received on Thu May 17 2012 - 13:34:01 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:27 UTC