Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 1 Nov 2006 20:18:27 -0800
From:      John Utz <john@utzweb.net>
To:        John Baldwin <jhb@freebsd.org>
Cc:        freebsd-acpi@freebsd.org
Subject:   Re: Serious Progess Re: smbios.ko probes successfully if i disable acpi sysresource, fails if i do not
Message-ID:  <4FC5FAF0-0490-48D3-B471-59CEDEC7F512@utzweb.net>
In-Reply-To: <200611011051.00658.jhb@freebsd.org>
References:  <FBFBCF13-54B0-4825-A115-4CDDE4215CD7@utzweb.net> <200610301519.24918.jhb@freebsd.org> <51211.69.93.78.27.1162338464.squirrel@69.93.78.27> <200611011051.00658.jhb@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help

On Nov 1, 2006, at 7:51 AM, John Baldwin wrote:

> On Tuesday 31 October 2006 18:47, john@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?

i saw something char*-ish in digi_isa.c, but i saw few enuf examples  
that it seems  to be worth asking....

tnx!

johnu

> -- 
> John Baldwin
>




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4FC5FAF0-0490-48D3-B471-59CEDEC7F512>