Serious Progess Re: smbios.ko probes successfully if i disable
acpi sysresource, fails if i do not
jhb at freebsd.org
Thu Nov 2 17:06:57 UTC 2006
On Wednesday 01 November 2006 23:18, John Utz wrote:
> On Nov 1, 2006, at 7:51 AM, John Baldwin wrote:
> > On Tuesday 31 October 2006 18:47, john at utzweb.net wrote:
> >> So i actually do use pmap_mapdev to get a handle to the table, but
> >> i dont
> >> do that in smbios_attach, i do it in a function written to walk
> >> the table.
> >> but, as i alluded to previously, the original author used
> >> bus_alloc_resource() in smbios_attach() are you saying that i
> >> should use
> >> pmap_mapdev() in smbios_attach *instead* of bus_alloc_resource()?
> > Yes. Firmware tables are not resources (at least IMHO).
> ok then.
> so since pmap_mapdev() returns a void* what is the current blessed
> type that should be used for pmap_ memory handles in smbios_softc?
Eh? Any pointer will do. :)
> i saw something char*-ish in digi_isa.c, but i saw few enuf examples
> that it seems to be worth asking....
> > --
> > John Baldwin
More information about the freebsd-acpi