Date: Thu, 11 Dec 2008 19:57:05 +0300 From: Eygene Ryabinkin <rea-fbsd@codelabs.ru> To: Marcel Moolenaar <xcllnt@mac.com> Cc: Boris Samorodov <bsam@ipt.ru>, freebsd-current@FreeBSD.org Subject: Re: Timeda 8-multiport adapter: only 2 ports available Message-ID: <41fBYCE8%2BWXjiJ69CbLadytILOA@1kze6/ikh5UKbI80fwIBmcuwJuU> In-Reply-To: <A15C478D-B22F-4F5B-B584-F6D9BE368D55@mac.com> References: <92804393@bb.ipt.ru> <26722819@bb.ipt.ru> <dgryeQY4GEVsW/%2Bo7hiHda0rsyw@Nv45r0f9gWT8HCu35qu0Xm2Zg98> <26719629@bb.ipt.ru> <19F75E66-0535-4982-9726-E2C0A03117EA@mac.com> <u86IhinAe98poBxKoJlfe3b/pNw@TT2a40bhZF2dUby2PPEihZ1bSVY> <A15C478D-B22F-4F5B-B584-F6D9BE368D55@mac.com>
next in thread | previous in thread | raw e-mail | index | archive | help
[-- Attachment #1 --]
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
{_.-``-' {_/ #
[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (FreeBSD)
iEYEARECAAYFAklBRmEACgkQthUKNsbL7YgfkQCfZodsEPy6xXDhhUbAuBu+Qc6b
GPsAn2sq+DW16l8SVmtPFloaf8KrQuU4
=61sH
-----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?41fBYCE8%2BWXjiJ69CbLadytILOA>
