LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
From: ebiederm@xmission.com (Eric W. Biederman)
To: "Pavel Machek" <pavel@suse.cz>
Cc: "Pavel Machek" <pavel@Elf.ucw.cz>,
	"Jeremy Elson" <jelson@circlemud.org>,
	linux-kernel@vger.kernel.org
Subject: Re: [ANNOUNCE] FUSD v1.00: Framework for User-Space Devices
Date: 13 Oct 2001 15:57:32 -0600	[thread overview]
Message-ID: <m1wv1zqk37.fsf@frodo.biederman.org> (raw)
In-Reply-To: <20011002204836.B3026@bug.ucw.cz> <200110022237.f92Mbrk28387@cambot.lecs.cs.ucla.edu> <20011005205136.A1272@elf.ucw.cz> <m1n132x4qg.fsf@frodo.biederman.org> <20011008122013.B38@toy.ucw.cz>
In-Reply-To: <20011008122013.B38@toy.ucw.cz>

"Pavel Machek" <pavel@suse.cz> writes:

> Hi!
> 
> > > Yep. And linmodem driver does signal processing, so it is big and
> > > ugly. And up till now, it had to be in kernel. With your patches, such
> > > drivers could be userspace (where they belong!). Of course, it would be 
> > > very good if your interface did not change...
> > 
> > I don't see how linmodem drivers apply.  At least not at the low-level
> > because you actually have to driver the hardware, respond to interrupts
> > etc.  On some of this I can see a driver split like there is for the video
> 
> You don't actually need interrupts -- you *know* when next sample arrives.
> And port io is completely fine with iopl() ;-).

But DMA? You are talking about what amounts to a sound card driver.
And since in the cases that burn cpu time you have to process raw
sound samples into modem data, you need to shift a fair amount of
data. inb and outb just don't have the bandwidth.  So you need a
kernel side component that drives the hardware to some extent.

Additionally you still don't need a FUSD driver for that case.  All
you need is to have is a ptty.  Because that is what modem drivers
are now.  And the ptty route has binary and source compatiblity
to multiple unix platforms.

Eric

  reply	other threads:[~2001-10-13 22:08 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-09-29  1:18 Jeremy Elson
2001-10-01 15:36 ` Jeremy Elson
2001-10-02 18:48   ` Pavel Machek
2001-10-02 22:37     ` Jeremy Elson
2001-10-02 22:44       ` Mike Fedyk
2001-10-05 18:51       ` Pavel Machek
2001-10-08  2:09         ` Eric W. Biederman
2001-10-08  2:37           ` linmodems (was Re: [ANNOUNCE] FUSD v1.00: Framework for User-Space Devices) Jeff Garzik
2001-10-08 12:19             ` Pavel Machek
2001-10-08 19:34             ` Tim Jansen
2001-10-08 12:20           ` [ANNOUNCE] FUSD v1.00: Framework for User-Space Devices Pavel Machek
2001-10-13 21:57             ` Eric W. Biederman [this message]
2001-10-14  6:12               ` Pavel Machek
2001-10-15 12:34                 ` Jamie Lokier
2001-10-15 12:38                 ` Jamie Lokier
2001-10-10  3:55         ` Jeremy Elson

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=m1wv1zqk37.fsf@frodo.biederman.org \
    --to=ebiederm@xmission.com \
    --cc=jelson@circlemud.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=pavel@Elf.ucw.cz \
    --cc=pavel@suse.cz \
    --subject='Re: [ANNOUNCE] FUSD v1.00: Framework for User-Space Devices' \
    /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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).