[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Must I have the file "sys/io.h" ???



On Wed, 2004-04-28 12:39:19 +0200, Guido Guenther <agx@debian.org>
wrote in message <[🔎] 20040428103919.GD5937@bogon.ms20.nix>:
> On Tue, Apr 27, 2004 at 04:27:37PM -0400, Ben Collins wrote:

> What would be the correct way to access I/O space from userspace? Some
> programs like to access the PC-style parports via inb/outb, can you
> point me how to a direction on how to do this on sparcs that have
> similar hardware (i.e. US5)?

Esp. for all those parports, there's the "ppdev" driver. It gives you
access to data and control registers of the 8255, which is all you need,
I thing:)

MfG, JBG

-- 
   Jan-Benedict Glaw       jbglaw@lug-owl.de    . +49-172-7608481
   "Eine Freie Meinung in  einem Freien Kopf    | Gegen Zensur | Gegen Krieg
    fuer einen Freien Staat voll Freier Bürger" | im Internet! |   im Irak!
   ret = do_actions((curr | FREE_SPEECH) & ~(NEW_COPYRIGHT_LAW | DRM | TCPA));

Attachment: signature.asc
Description: Digital signature


Reply to: