public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Eduard - Gabriel Munteanu <eduard.munteanu@linux360.ro>
To: Alan Cox <alan@lxorguk.ukuu.org.uk>
Cc: Al Viro <viro@ZenIV.linux.org.uk>,
	"Eric W. Biederman" <ebiederm@xmission.com>,
	Marcin Slusarz <marcin.slusarz@gmail.com>,
	LKML <linux-kernel@vger.kernel.org>,
	Frans Pop <elendil@planet.nl>
Subject: Re: [PATCH] parport/ppdev: fix registration of sysctl entries
Date: Sun, 6 Jul 2008 20:00:33 +0300	[thread overview]
Message-ID: <20080706200033.0b833508@linux360.ro> (raw)
In-Reply-To: <20080706170802.61131618@lxorguk.ukuu.org.uk>

On Sun, 6 Jul 2008 17:08:02 +0100
Alan Cox <alan@lxorguk.ukuu.org.uk> wrote:

> > IMHO, there is one reason ppdev exists: allow both _safe_ and _raw_
> > access to the parallel port, and a much better alternative to the
> > iopl stuff.
> 
> And various devices support sharing protocols on the parallel port.

But isn't it incorrect to assume that sharing protocols allow multiple
separate users? Why not have an userspace server mux/demux requests?
Told more properly, such devices are multi-context, not multi-user.

AFAICT, this is similar to software mixing on soundcards, where we have
an additional layer mixing (~ multiplexing) outgoing PCM streams.

The parallel port itself is not designed to be shared, so even if the
device supports it, it does not mean we should allow independent
access. We really should have an userspace lib/server to do this.


	Eduard

  reply	other threads:[~2008-07-06 17:01 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-07-05 13:21 [PATCH] parport/ppdev: fix registration of sysctl entries Marcin Slusarz
2008-07-05 23:51 ` Al Viro
2008-07-06  0:11   ` Al Viro
2008-07-06  4:05     ` Al Viro
2008-07-06  6:49       ` Eric W. Biederman
2008-07-06  8:11         ` Al Viro
2008-07-06  9:25           ` Eric W. Biederman
2008-07-06 16:22           ` Eduard - Gabriel Munteanu
2008-07-06 16:08             ` Alan Cox
2008-07-06 17:00               ` Eduard - Gabriel Munteanu [this message]
2008-07-06 18:09                 ` Alan Cox
2008-07-06 15:12       ` Marcin Slusarz
2008-07-06 15:07     ` Marcin Slusarz
2008-07-06 16:01       ` Arjan van de Ven
2008-07-06 20:35       ` Al Viro

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=20080706200033.0b833508@linux360.ro \
    --to=eduard.munteanu@linux360.ro \
    --cc=alan@lxorguk.ukuu.org.uk \
    --cc=ebiederm@xmission.com \
    --cc=elendil@planet.nl \
    --cc=linux-kernel@vger.kernel.org \
    --cc=marcin.slusarz@gmail.com \
    --cc=viro@ZenIV.linux.org.uk \
    /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