Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758997AbYGFS1T (ORCPT ); Sun, 6 Jul 2008 14:27:19 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1755107AbYGFS1J (ORCPT ); Sun, 6 Jul 2008 14:27:09 -0400 Received: from earthlight.etchedpixels.co.uk ([81.2.110.250]:45561 "EHLO lxorguk.ukuu.org.uk" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1754224AbYGFS1J (ORCPT ); Sun, 6 Jul 2008 14:27:09 -0400 Date: Sun, 6 Jul 2008 19:09:24 +0100 From: Alan Cox To: Eduard - Gabriel Munteanu Cc: Al Viro , "Eric W. Biederman" , Marcin Slusarz , LKML , Frans Pop Subject: Re: [PATCH] parport/ppdev: fix registration of sysctl entries Message-ID: <20080706190924.652e7cde@lxorguk.ukuu.org.uk> In-Reply-To: <20080706200033.0b833508@linux360.ro> References: <20080705131924.GA2083@joi> <20080705235148.GW28946@ZenIV.linux.org.uk> <20080706001148.GX28946@ZenIV.linux.org.uk> <20080706040519.GZ28946@ZenIV.linux.org.uk> <20080706081126.GA28946@ZenIV.linux.org.uk> <20080706192233.5df9c65b@linux360.ro> <20080706170802.61131618@lxorguk.ukuu.org.uk> <20080706200033.0b833508@linux360.ro> X-Mailer: Claws Mail 3.4.0 (GTK+ 2.12.10; x86_64-redhat-linux-gnu) Organization: Red Hat UK Cyf., Amberley Place, 107-111 Peascod Street, Windsor, Berkshire, SL4 1TE, Y Deyrnas Gyfunol. Cofrestrwyd yng Nghymru a Lloegr o'r rhif cofrestru 3798903 Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 896 Lines: 18 > But isn't it incorrect to assume that sharing protocols allow multiple > separate users? Why not have an userspace server mux/demux requests? Why do that ? > 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. I suggest you look at the actual hardware examples in more detail. Most of them are happy to share but need to own the port temporarily. The manner in which they lock/unlock their use of the port tends to be very specific to the device so it makes sense to have the current desgign. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/