On Wed, 2004-04-28 12:39:19 +0200, Guido Guenther <[EMAIL PROTECTED]>
wrote in message <[EMAIL PROTECTED]>:
> 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       [EMAIL PROTECTED]    . +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 via email to