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

From: John Baldwin <jhb_at_freebsd.org>
Date: Thu, 17 May 2012 13:50:53 -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? :)

Not yet.  I'll try to test it later today unless someone beats me to it. :-P

-- 
John Baldwin
Received on Thu May 17 2012 - 17:29:49 UTC

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