Re: Timeda 8-multiport adapter: only 2 ports available

From: Eygene Ryabinkin <rea-fbsd_at_codelabs.ru>
Date: Thu, 11 Dec 2008 19:57:05 +0300
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 
    {_.-``-'         {_/            #

Received on Thu Dec 11 2008 - 15:57:08 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:38 UTC