Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 5 Jul 2010 13:02:55 -0700
From:      Christopher Bowman <crb@chrisbowman.com>
To:        "Daniel O'Connor" <doconnor@gsoft.com.au>
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: PCI Express and drivers
Message-ID:  <AANLkTikPuogCaewnIvv_2ElCVrBP15oD5lFW6SfpmQ9s@mail.gmail.com>
In-Reply-To: <DEC04783-951C-4D47-9786-F4B435026F77@gsoft.com.au>
References:  <AANLkTinMvJnvsmE6NvOKjtcAVn6JEl-kB-AjdWMpXpZd@mail.gmail.com> <02DA6157-87CE-47E5-91D0-ED014FB88AD0@gsoft.com.au> <AANLkTimK3OeOQzw__wxPPG2DY8gXTggep7kl3oF8vKUl@mail.gmail.com> <DEC04783-951C-4D47-9786-F4B435026F77@gsoft.com.au>

next in thread | previous in thread | raw e-mail | index | archive | help
If I could, let me ask another question.  My device could potential have up
to 6 BARs, that would be mapped into user space.  Should I simply bundle
them together in my driver into one contiguous space or should I make the
user perform multiple mmap calls?  If I go the multiple mmap route, how do I
match a mmap call to a particular BAR?  Do I use the size of the allocation?
Thanks
Christopher

On Sat, Jun 26, 2010 at 8:11 AM, Daniel O'Connor <doconnor@gsoft.com.au>wrote:

>
> On 26/06/2010, at 14:50, Christopher Bowman wrote:
> >> PS what board are you using? :)
> >>
> >     Cool, that looks like what I am looking for.  I'll go and read up on
> it, thanks very much.  I am using the Xilinx SP605
> http://www.xilinx.com/products/devkits/EK-S6-SP605-G.htm
> > perfect for playing with hardware for a frame buffer device or graphics
> device.  It comes with a full license for the synthesis and PCIe IP for the
> device on that board which is a great deal.
>
> Ahh, it does look like a fun toy :)
>
> --
> Daniel O'Connor software and network engineer
> for Genesis Software - http://www.gsoft.com.au
> "The nice thing about standards is that there
> are so many of them to choose from."
>  -- Andrew Tanenbaum
> GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C
>
>
>
>
>
>
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AANLkTikPuogCaewnIvv_2ElCVrBP15oD5lFW6SfpmQ9s>