Subject: Re: netbsd i386 1.6.1 question: (user mode hw io)
To: der Mouse <mouse@Rodents.Montreal.QC.CA>
From: Peter L. Peres <plp@actcom.co.il>
List: port-i386
Date: 12/23/2004 15:07:58
On Thu, 23 Dec 2004, der Mouse wrote:
> You'll need to write a driver (though for memory-mapped stuff, you can
> in principle use /dev/mem - depending on your device's interface, this
> may be good enough).
dd if=/dev/io skip=0x378 count=1 says /dev/io not configured. This is
the stock 1.6.1 kernel. So no luck there.
I am now looking into building against -li386 and use direct io
functions from that library. That should work imho. I will report when
it does.
thanks,
Peter