Date: Thu, 17 May 2012 13:50:53 -0400 From: John Baldwin <jhb@freebsd.org> To: Andriy Gapon <avg@freebsd.org> Cc: Bruce Cran <bruce@cran.org.uk>, freebsd-acpi@freebsd.org, freebsd-current <freebsd-current@freebsd.org> Subject: Re: ACPI 'driver bug: Unable to set devclass' Message-ID: <201205171350.53229.jhb@freebsd.org> In-Reply-To: <4FB51A64.6090906@FreeBSD.org> References: <4FAF7343.8010808@cran.org.uk> <201205171005.19736.jhb@freebsd.org> <4FB51A64.6090906@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201205171350.53229.jhb>