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

From: John Baldwin <jhb_at_freebsd.org>
Date: Fri, 18 May 2012 10:45:16 -0400
On Thursday, May 17, 2012 11:33:56 am Andriy Gapon wrote:
> 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? :)

I've updated it with a run-tested version.

-- 
John Baldwin
Received on Fri May 18 2012 - 12:45:18 UTC

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