Re: HELP: Linux replacement for "DOS diagnostic" station

From: H. Peter Anvin
Date: Mon Mar 08 2004 - 19:20:40 EST


Followup to: <404CFF03.1090601@xxxxxxxxxxxxxx>
By author: Timothy Miller <miller@xxxxxxxxxxxxxx>
In newsgroup: linux.dev.kernel
>
> So, first of all, we need to make /dev/mem accessible to all users.
> Secondly, we need some mechanism to access I/O and config space, but it
> can be indirect through ioctl.
>
> Is there a driver for Linux which supports I/O and config space access
> for user-space programs in a completely generic way?
>

Just use iopl(3) and do the accesses directly from userspace, or use
/dev/port.

-hpa
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/