Usenet comp.os.linux.alpha (1997-2013)
 help / color / mirror / Atom feed
From: master@darkflame.ml.org (Scott Wood)
Subject: Re: Parallel port programming: i386 only?
Date: 1999/01/03	[thread overview]
Message-ID: <slrn78vbn7.d30.master@cartman.kickass> (raw)
In-Reply-To: 368BECA7.A3BED158@niu.edu

On Thu, 31 Dec 1998 15:29:12 -0600, John Eley <John_Eley@niu.edu> wrote:
>I read the IO Programming mini faq and tried to use ioperm() to access
>the port. However, after getting implicit declaration errors I looked
>and found that ioperm is not in unistd.h on the alpha. After further
>research (by searching deja news) it seems that the low level io
>routines like ioperm are i386 only. Is this the case? If so how do I do
>it on the alpha?

You can use /dev/port to access the I/O ports.  Just mmap() it and
read/write to the offset corresponding to the appropriate port.

-- 
Scott Wood	http://darkflame.ml.org/
"In your case, a few 'find / -uid 1000 rm {} \;' are very healthy
as well... for this newsgroup, I mean..." 
	-s.c.sprong@student.utwente.nl on comp.unix.bsd.freebsd.misc



      reply	other threads:[~1999-01-03  5:00 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-12-31  5:00 Parallel port programming: i386 only? John Eley
1999-01-03  5:00 ` Scott Wood [this message]
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox