Question: Serial port device drivers...

Wayne Price
2000-11-29T13:11:08Z

I am trying to develop a device-driver to sit above the standard serial port -
in other
words, multiple processes can communicate with the driver which will translate
the
information into the required serial datastream for the device. (This could be
written
as a separate daemon-type process, I know, but as a kernel driver it will fit
into the
scheme of our system in a much neater way).

I haven't found any other drivers in the kernel which quite do what I want, and
I don't
particularly want to make a copy of the entire serial driver code and put the
mods into
that (seems like a waste of space). Essentially, what I need is to have a
relatively
simple driver which just calls the standard serial port routines to send/receive
data.

Has this been done before, and does anyone have any sample code or hints as to
what I
need to do? We are using kernel 2.2.16 (from RedHat-7.0).

Regards,

Wayne
________________________________________________________________________
Wayne Price W.Price@acropolis-solutions.co.uk Acropolis Solutions Ltd
Mobile: +44 (0) 7770 376383 Home: +44 (0) 1483 531235
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/