mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Jamie Lokier <lk@tantalophile.demon.co.uk>
To: Friedrich Steven E CONT CNIN <friedrich_s@crane.navy.mil>
Cc: linux-kernel@vger.kernel.org
Subject: Re: device driver questions
Date: Sat, 14 Apr 2001 01:16:02 +0200	[thread overview]
Message-ID: <20010414011602.E2290@pcep-jamie.cern.ch> (raw)
In-Reply-To: <AF6E1CA59D6AD1119C3A00A0C9893C9A04F57121@cninexchsrv01.crane.navy.mil>
In-Reply-To: <AF6E1CA59D6AD1119C3A00A0C9893C9A04F57121@cninexchsrv01.crane.navy.mil>; from friedrich_s@crane.navy.mil on Fri, Apr 13, 2001 at 03:10:48PM -0500

Friedrich Steven E CONT CNIN wrote:
> 	If you want to mmap the device then you really want to put the
> device in its own 4K aligned 4K sized PCI window, otherwise adjacent
> devices will become accessible too and that might not be desirable.

If you can, reprogram the device's PCI configuration to have a 4k or
more sized window.  (You said you were willing to move functionality
into the hardware, so I assume you can do this).  That guarantees it
will be page aligned, and without other devices overlapping in
userspace.

-- Jamie

  reply	other threads:[~2001-04-13 23:16 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-04-13 20:10 Friedrich Steven E CONT CNIN
2001-04-13 23:16 ` Jamie Lokier [this message]
  -- strict thread matches above, loose matches on Subject: below --
2001-04-13 19:33 Friedrich Steven E CONT CNIN
2001-04-13 19:46 ` Alan Cox

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20010414011602.E2290@pcep-jamie.cern.ch \
    --to=lk@tantalophile.demon.co.uk \
    --cc=friedrich_s@crane.navy.mil \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®