Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 11 Sep 1997 06:08:37 +0200
From:      j@uriah.heep.sax.de (J Wunsch)
To:        freebsd-hackers@FreeBSD.ORG (FREEBSD)
Cc:        philippe.brun@eurocontrol.fr (BRUN Philippe)
Subject:   Re: Arinc device driver kvtop problem
Message-ID:  <19970911060837.CN01948@uriah.heep.sax.de>
In-Reply-To: <199709101653.CAA04895@word.smith.net.au>; from Mike Smith on Sep 11, 1997 02:53:13 %2B1000
References:  <34174307@brteec1> <199709101653.CAA04895@word.smith.net.au>

next in thread | previous in thread | raw e-mail | index | archive | help
As Mike Smith wrote:

> This is outside the "ISA hole", and means that you can't use the iomem 
> approach.

You probably can, but you can only use it as a hint to the driver
which memory to map.  Only the ``ISA hole'' is being mapped
automatically, other adapter memory regions need to be mapped
manually.

> Until recently, FreeBSD didn't support main memory being fragmented (if 
> I remeber correctly).

But that's IMHO not related to adapter memory.  It has always been
possible to make additional mappings.  The X servers are using those,
for example, to access linear frame buffers.  They're arranging for
their mapping via /dev/mem.  A kernel driver would have to map the
memory itself.  (Maybe John or David can give a short instruction
which steps are needed for this.)

-- 
cheers, J"org

joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)



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