Path: utzoo!attcan!uunet!lll-winken!lll-tis!ames!mailrus!tut.cis.ohio-state.edu!bloom-beacon!ftp!bill From: bill@ftp.COM (Bill Lampman) Newsgroups: comp.unix.xenix Subject: Questions about memory mapped device drivers Keywords: xenix memory mapped device driver Message-ID: <205@ftp.COM> Date: 16 Jun 88 16:40:01 GMT Organization: FTP Software Inc., Cambridge, MA Lines: 32 I've been trying to write memory mapped device drivers for the Western Digital WD8003 and the Micom Interlan NI5210 ethernet cards on a pc clone. Is there something strange about how Xenix maps its memory, ie. are there some addresses that cannot be used by device drivers ? I've tried setting up the boards as described in the example video driver in the manual : #define MEMSIZ 0x2000 unsigned sel; long addr; faddr_t board; addr = 0xd0000; sel = dscralloc(); mmudescr(sel, addr, MEMSIZ-1, DSA_DATA); board = sotofar(sel, 0); I cannot access the memory on the boards no matter what I try. Do I have to "tell Xenix" in some way that there is memory here that wasn't there at system startup ? Thanks in advance for the help. Bill -- ------------------------------------------------------------------------------ Bill Lampman @ FTP Software UUCP: ...harvard!ftp!bill ARPA: bill@ftp.com ...sometimes the songs that we hear are just songs of our own...