Questions about memory mapped device drivers
Bill Lampman
bill at ftp.COM
Fri Jun 17 02:40:01 AEST 1988
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 at ftp.com
...sometimes the songs that we hear are just songs of our own...
More information about the Comp.unix.xenix
mailing list