Timeda 8-multiport adapter: only 2 ports available

Eygene Ryabinkin rea-fbsd at codelabs.ru
Thu Dec 11 16:57:08 UTC 2008


Marcel,

Thu, Dec 11, 2008 at 08:40:53AM -0800, Marcel Moolenaar wrote:
> Since
> puc(4) needs to maintain a mapping from the child's device_t
> to some internal data structure, it was trivial to have the
> child use RID 0 in all cases and have that mapped to the
> right bus tag and handle pair...

Sorry for me being so dumb, but how it is done?  Is 'dev' argument
to the bus_alloc_resource() carries all specifics?  Am I missing
some documentation?

Thanks!
-- 
Eygene
 _                ___       _.--.   #
 \`.|\..----...-'`   `-._.-'_.-'`   #  Remember that it is hard
 /  ' `         ,       __.--'      #  to read the on-line manual   
 )/' _/     \   `-_,   /            #  while single-stepping the kernel.
 `-'" `"\_  ,_.-;_.-\_ ',  fsc/as   #
     _.-'_./   {_.'   ; /           #    -- FreeBSD Developers handbook 
    {_.-``-'         {_/            #
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20081211/5755e15c/attachment.pgp


More information about the freebsd-current mailing list