>I'm on FreeBSD 4.1.1 and when I attempt multiple calls to
>bus_alloc_resource on a PCI device for the same BAR, I run afoul of code
>in resource_list_alloc:
>
>    rle = resource_list_find(rl, type, *rid);
>
>    if (!rle)
>        return 0;               /* no resource of that type/rid */
>    if (rle->res)
>        panic("resource_list_alloc: resource entry is busy");
>
>
>Even though I'm calling it with RF_SHARABLE

RF_SHARABLE requests to share a resource with another device, not
within the same device.  Further, RF_SHARABLE only applies to
IRQs, not BARs.

--
Justin



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to