From owner-freebsd-hackers Wed Sep 10 21:10:28 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id VAA24357 for hackers-outgoing; Wed, 10 Sep 1997 21:10:28 -0700 (PDT) Received: from sax.sax.de (sax.sax.de [193.175.26.33]) by hub.freebsd.org (8.8.7/8.8.7) with SMTP id VAA24351 for ; Wed, 10 Sep 1997 21:10:22 -0700 (PDT) Received: (from uucp@localhost) by sax.sax.de (8.6.12/8.6.12-s1) with UUCP id GAA15889; Thu, 11 Sep 1997 06:09:53 +0200 Received: (from j@localhost) by uriah.heep.sax.de (8.8.7/8.8.5) id GAA09019; Thu, 11 Sep 1997 06:08:38 +0200 (MET DST) Message-ID: <19970911060837.CN01948@uriah.heep.sax.de> 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 References: <34174307@brteec1> <199709101653.CAA04895@word.smith.net.au> X-Mailer: Mutt 0.60_p2-3,5,8-9 Mime-Version: 1.0 X-Phone: +49-351-2012 669 X-PGP-Fingerprint: DC 47 E6 E4 FF A6 E9 8F 93 21 E0 7D F9 12 D6 4E Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch) In-Reply-To: <199709101653.CAA04895@word.smith.net.au>; from Mike Smith on Sep 11, 1997 02:53:13 +1000 Sender: owner-freebsd-hackers@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk 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. ;-)