From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753936AbZHJVPZ (ORCPT ); Mon, 10 Aug 2009 17:15:25 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753901AbZHJVPY (ORCPT ); Mon, 10 Aug 2009 17:15:24 -0400 Received: from cantor2.suse.de ([195.135.220.15]:50542 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753777AbZHJVPX (ORCPT ); Mon, 10 Aug 2009 17:15:23 -0400 Date: Mon, 10 Aug 2009 14:09:38 -0700 From: Greg KH To: "Emilio G. Cota" Cc: Martyn Welch , linux-kernel@vger.kernel.org, devel@driverdev.osuosl.org, Sebastien Dugue Subject: Re: [patch 2/5] Staging: vme: add VME userspace driver Message-ID: <20090810210938.GB24623@suse.de> References: <20090803205657.964064732@mini.kroah.org> <20090803210116.GC28430@kroah.com> <20090808232259.GA29303@braap.org> <20090809121715.GA3884@braap.org> <20090810162826.GA27912@suse.de> <20090810200526.GC3055@braap.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20090810200526.GC3055@braap.org> User-Agent: Mutt/1.5.20 (2009-06-14) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Aug 10, 2009 at 10:05:26PM +0200, Emilio G. Cota wrote: > Greg KH wrote: > > On Sun, Aug 09, 2009 at 02:17:16PM +0200, Emilio G. Cota wrote: > > > > Instead of using that we implemented a heretic IOCTL-based > > > > interface for user-space; at least with it you could create a > > > > driver (with no interrupt support) for a device in user-space. > > > > Why not just use the UIO interface instead of creating > > yet-another-kernel/user-api? > > > > Will that interface not work for what you want to use here? > > Certainly. I didn't mean we'd like to see that merged. Currently > we make extensive use of IOCTLs because we are maintaining > kernel and user-space code for two platforms/OSes (ppc-lynx and > x86-linux), and not having access to lynx' source code doesn't > help. So IOCTLs are pretty much everywhere, much to my regret. That does not mean we will accept adding new ioctls for the Linux drivers, so I fail to see the point of this :) thanks, greg k-h