From owner-freebsd-current@FreeBSD.ORG Thu Dec 11 16:57:08 2008 Return-Path: Delivered-To: freebsd-current@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DCCA11065676 for ; Thu, 11 Dec 2008 16:57:08 +0000 (UTC) (envelope-from rea-fbsd@codelabs.ru) Received: from 0.mx.codelabs.ru (0.mx.codelabs.ru [144.206.177.45]) by mx1.freebsd.org (Postfix) with ESMTP id 8A8198FC1A for ; Thu, 11 Dec 2008 16:57:08 +0000 (UTC) (envelope-from rea-fbsd@codelabs.ru) DomainKey-Signature: a=rsa-sha1; q=dns; c=simple; s=one; d=codelabs.ru; h=Received:Date:From:To:Cc:Subject:Message-ID:Reply-To:References:MIME-Version:Content-Type:Content-Disposition:In-Reply-To:Sender; b=TfFkoGdDSZ+JfKRh/Mb00iMs3WQbV0begVPjNzsmEue2yXMXO633Guj2ySCKykN8LYxNFC+2pqtlyi5nqUUR5LMPQwvfahzylhmLzt1itCJ7MB1Kw9gN6sMq1IF6AogK58OH3s8kEtILSqReZgLc7h82rkDzWQApx8edleZg7h8=; Received: from void.codelabs.ru (void.codelabs.ru [144.206.177.25]) by 0.mx.codelabs.ru with esmtpsa (TLSv1:AES256-SHA:256) id 1LAoqZ-000CIo-Bn; Thu, 11 Dec 2008 19:57:07 +0300 Date: Thu, 11 Dec 2008 19:57:05 +0300 From: Eygene Ryabinkin To: Marcel Moolenaar Message-ID: <41fBYCE8+WXjiJ69CbLadytILOA@1kze6/ikh5UKbI80fwIBmcuwJuU> References: <92804393@bb.ipt.ru> <26722819@bb.ipt.ru> <26719629@bb.ipt.ru> <19F75E66-0535-4982-9726-E2C0A03117EA@mac.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="Bqc0IY4JZZt50bUr" Content-Disposition: inline In-Reply-To: Sender: rea-fbsd@codelabs.ru Cc: Boris Samorodov , freebsd-current@FreeBSD.org Subject: Re: Timeda 8-multiport adapter: only 2 ports available X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: rea-fbsd@codelabs.ru List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Dec 2008 16:57:08 -0000 --Bqc0IY4JZZt50bUr Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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! --=20 Eygene _ ___ _.--. # \`.|\..----...-'` `-._.-'_.-'` # Remember that it is hard / ' ` , __.--' # to read the on-line manual =20 )/' _/ \ `-_, / # while single-stepping the kernel. `-'" `"\_ ,_.-;_.-\_ ', fsc/as # _.-'_./ {_.' ; / # -- FreeBSD Developers handbook=20 {_.-``-' {_/ # --Bqc0IY4JZZt50bUr Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) iEYEARECAAYFAklBRmEACgkQthUKNsbL7YgfkQCfZodsEPy6xXDhhUbAuBu+Qc6b GPsAn2sq+DW16l8SVmtPFloaf8KrQuU4 =61sH -----END PGP SIGNATURE----- --Bqc0IY4JZZt50bUr--