|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
Re: How to write drivers?
From: Marco Peereboom (slash
peereboom.us)
Date: Thu May 01 2008 - 16:13:20 CDT
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Thu, May 01, 2008 at 08:00:38PM +0200, Jonathan Schleifer wrote:
> Sviatoslav Chagaev <slava
zb.lv> wrote:
>
> > Yes, I even wrote a program which "talks" with the device directly,
> > with the help of inb()/outb().
>
> I doubt you could use inb/outb in OpenBSD. The kernel will prevent that.
> Just talk with the device in /dev directly - there is really no need to
> write a driver. OpenBSD already has an LPT driver that gives access to
> it to the userland, so why reinvent the wheel here?
Because he can?
Because it is fun?
Because he wants to learn?
I can come up with another few of those. Writing drivers is a ton of
fun.
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]