alpm(4) I/O range is claimed by ACPI

John Baldwin jhb at freebsd.org
Wed Sep 17 17:43:38 UTC 2008


On Tuesday 16 September 2008 10:58:54 pm KAHO Toshikazu wrote:
>   Hello,
> 
> I am sorry to mistake copying message-id and break mail thread.
> 
> >> I tried looking for this device in the DSDT, I don't see anything which
> >> obviously resembles it. The equivalent Linux driver has a means of
> >> forcing the mapping to be set up if it isn't available:
> >>     http://www.kernel.org/doc/Documentation/i2c/busses/i2c-ali15x3
> >>
> >> It looks like there used to be a means of doing this in the FreeBSD
> >> driver but it got nuked. And that ASUS didn't much care about power
> >> management support in this machine...
> >
> >If you can re-enable it in such a way that it uses bus_alloc_resource(), 
then 
> >the driver will probably work fine.
> 
>   How to re-enable it? Please give me some points. PCIR_BAR is always 0,
> even if any values are written by pciconf. 

Well, bus_alloc_resource() will allocate resources for the BAR and update the 
BAR for you, the question is if you need to hardcode the range to 
bus_alloc_resource() or not.

-- 
John Baldwin


More information about the freebsd-stable mailing list