From: "lpgl" <patrice.lespagnol@obs-nancay.fr>
Subject: Re: User mode IO acces - PCI A/D card - Alpha station XP900
Date: 13 Oct 2005 00:24:35 -0700 [thread overview]
Message-ID: <1129188274.966456.295250@o13g2000cwo.googlegroups.com> (raw)
In-Reply-To: <m3fyr6ncju.fsf@localhost.localdomain>
Sorry it was not clear : I've just done (being superuser) an iopl
(doesn't work without) and then used inb and outb on 0x8800 (+ register
number). 0x8800 is the address that lspci give me for the advantech
card's IO ports.
What I've understood is that thanks to linux portability there's no
difference in using IO ports on i386 and Alpha arch, although on the
low levels it differs, the inb/outb functions hides all "dificulties".
I've not already tried to access the card's memory (4ksamples FIFO) but
I think the /dev/mem-mmap method will work, in condition of finding the
offset for mmap with bus_base() in sys/io.h as Måns Rullgård told
previously.
Thanks again.
next prev parent reply other threads:[~2005-10-13 7:24 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-10-11 12:07 User mode IO acces - PCI A/D card - Alpha station XP900 patrice.lespagnol
2005-10-11 12:53 ` Mathieu Chouquet-Stringer
2005-10-11 12:55 ` Mathieu Chouquet-Stringer
2005-10-11 14:10 ` lpgl
2005-10-11 14:57 ` Mathieu Chouquet-Stringer
2005-10-11 16:04 ` lpgl
2005-10-11 16:22 ` Mathieu Chouquet-Stringer
2005-10-11 18:03 ` lpgl
2005-10-11 18:16 ` Mathieu Chouquet-Stringer
2005-10-11 19:43 ` Måns Rullgård
2005-10-12 8:11 ` lpgl
2005-10-12 12:29 ` Mathieu Chouquet-Stringer
2005-10-13 7:24 ` lpgl [this message]
2005-10-12 7:56 ` lpgl
2005-10-11 18:13 ` Måns Rullgård
2005-10-12 8:34 ` lpgl
2005-10-12 20:49 ` Måns Rullgård
2005-10-13 7:53 ` lpgl
2005-10-13 8:23 ` Måns Rullgård
2005-10-13 10:40 ` lpgl
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