Date: Thu, 1 Jun 2000 14:07:50 +0100 (BST) From: Mac <mac@ngo.org.uk> To: ben@scientia.demon.co.uk (Ben Smithurst) Cc: freebsd-questions@freebsd.org Subject: Re: Writing a value to an IO (mem mapped) port Message-ID: <200006011307.OAA21036@ngo.org.uk> In-Reply-To: <20000601134414.U99925@strontium.scientia.demon.co.uk> from Ben Smithurst at "Jun 1, 0 01:44:14 pm"
next in thread | previous in thread | raw e-mail | index | archive | help
> I think another way is to open /dev/io before doing your outb. As long > as you have /dev/io open (you don't need to read or write anything > to it) your process is allowed direct IO access, AFAIK. I think > i386_set_ioperm is the newer method though, so hopefully someone who has > used it can explain how it's done. This works! open("/dev/io",O_RDONLY) and then you don't need the i386_set_ioperm() at all. The outb() just works! Thanks. Mac To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200006011307.OAA21036>