Okay. So for regular ISA port io drivers, I should just the regular kernel
intrinsics then, eh? Fine.
Just wanted to make sure I wasn't missing anything...
(Dave, did you receive the other mail I sent to you directly?)
Brendan
-----Original Message-----
From: Dave Grothe [mailto:[EMAIL PROTECTED]]
Sent: Saturday, March 03, 2001 8:17 AM
To: Miller, Brendan
Cc: '[EMAIL PROTECTED]'
Subject: Re: [Linux-streams] osif.h and port io?
LiS stands for Linux STREAMS. As such it only attempts to provide kernel
interface buffering for services needed by STREAMS drivers. These services
do
not include copy_from/to_user.
The port I/O routines would be good to add, though.
-- Dave
"Miller, Brendan" wrote:
> I have a simple port io device driver that I had previously written using
> standard kernel intrinsics such as inb, outb, copy_from_user,
copy_to_user,
> etc. I read that using LiS, it was possible to build your driver once
> against LiS, and only have to recompile LiS for the specific kernel that
was
> being used. This way, our device driver would use a "kernel API
buffering"
> and only LiS would have to be compiled with actual kernel source.
>
> Am I understanding this correctly? I thought I could use osif.h to
provide
> most of the kernel functions I needed. The LiS PCI layer is pretty well
> designed. What about ISA port IO? Things like inb, outb, copy_to_user,
> copy_from_user, etc. It seems that the LiS headers are not complete for
> _every_ type of device driver. Incidentally, my driver is not a streams
> driver. It only provides register access between user applications and
our
> hardware.
>
> Brendan Miller
>
> _______________________________________________
> Linux-streams mailing list
> [EMAIL PROTECTED]
> http://gsyc.escet.urjc.es/mailman/listinfo/linux-streams
_______________________________________________
Linux-streams mailing list
[EMAIL PROTECTED]
http://gsyc.escet.urjc.es/mailman/listinfo/linux-streams
_______________________________________________
Linux-streams mailing list
[EMAIL PROTECTED]
http://gsyc.escet.urjc.es/mailman/listinfo/linux-streams