From: Ben Collins <bcollins@debian.org>
To: Hansen Martin <DKDD0MAR@Danfoss.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: Accessing serial device from within
Date: Thu, 14 Mar 2002 11:46:03 -0500 [thread overview]
Message-ID: <20020314164603.GB4789@blimpo.internal.net> (raw)
In-Reply-To: <829F632D2F25D411B6920008C716F831039FB26C@dd01-e01.drives.danfoss.dk>
In-Reply-To: <829F632D2F25D411B6920008C716F831039FB26C@dd01-e01.drives.danfoss.dk>
On Thu, Mar 14, 2002 at 05:40:12PM +0100, Hansen Martin wrote:
> I am writing a module, that will communicate with a device attached to the
> serial port.
>
> How can I do that from inside a module, using the present uart driver?
> I want to do something like finding and calling the read/write routine that
> is called by the kernel when a process from user space accesses the
> /dev/ttyS1.
>
> The reason I want to do it this way is that I don't want my module to only
> fit one uart.
The question is, why do this in the kernel, when it is more easily
handled in userspace?
--
.----------=======-=-======-=========-----------=====------------=-=-----.
/ Ben Collins -- Debian GNU/Linux -- WatchGuard.com \
` bcollins@debian.org -- Ben.Collins@watchguard.com '
`---=========------=======-------------=-=-----=-===-======-------=--=---'
next prev parent reply other threads:[~2002-03-14 16:50 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-03-14 16:40 Hansen Martin
2002-03-14 16:46 ` Ben Collins [this message]
2002-03-14 16:50 ` Vojtech Pavlik
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20020314164603.GB4789@blimpo.internal.net \
--to=bcollins@debian.org \
--cc=DKDD0MAR@Danfoss.com \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®