Date: Fri, 30 Apr 2010 10:48:53 -0600 (MDT) From: "M. Warner Losh" <imp@bsdimp.com> To: indranil@virident.com Cc: freebsd-drivers@FreeBSD.org Subject: Re: Question about pci programming Message-ID: <20100430.104853.29593248078744249.imp@bsdimp.com> In-Reply-To: <28631E6913C8074E95A698E8AC93D09101AAF44A@caexch1.virident.info>
index | next in thread | previous in thread | raw e-mail
In message: <28631E6913C8074E95A698E8AC93D09101AAF44A@caexch1.virident.info>
"Indranil Bhattacharya" <indranil@virident.com> writes:
: In freebsd, how do I set a dma mask for a pci device ? In linux the
: kernel api is pci_set_dma_mask(). In particular, I will like to enable
: PCI double address cycle mapping (64 bit addressing) for our device.
Isn't this just done with the bus_dma routines passing in a 64-bit
address mask?
Warner
help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100430.104853.29593248078744249.imp>
