Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 3 Oct 1997 19:05:57 -0700 (PDT)
From:      mdean <mdean@best.com>
To:        freebsd-hackers@freebsd.org
Subject:   lkms versus hard linked drivers
Message-ID:  <Pine.SGI.3.95.971003185032.22045A-100000@shellx.best.com>

next in thread | raw e-mail | index | archive | help

My question is very simple: What can't be a lkm?
For instance if I have some intel 8255As that I am going to use to produce
a 500hz pulse train for stepper motor control. These chips aren't stateless
and need to be intialized and mostly need to be kernel code to access
change of state interrupts and the high frequency clock (obviously). Can I
do all this from an lkm?

Will everything except the boot device driver and microkernel eventually be
an lkm? Is it undesirable or something, because the only module that I am
using on my system is for the screensaver?

What about this: I am pretty sure I cannot do this inside the kernel. What
if I want my device driver for the stepper motor to socket(2) since it is
really not going to have any ioctls. This way controlling motor position
can be done from any machine on the network. 

Can I use any system call in a) device driver in the kernel tree b) lkm?





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.SGI.3.95.971003185032.22045A-100000>