Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751960AbWLNSST (ORCPT ); Thu, 14 Dec 2006 13:18:19 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751872AbWLNSST (ORCPT ); Thu, 14 Dec 2006 13:18:19 -0500 Received: from outpipe-village-512-1.bc.nu ([81.2.110.250]:34770 "EHLO lxorguk.ukuu.org.uk" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1751960AbWLNSSS (ORCPT ); Thu, 14 Dec 2006 13:18:18 -0500 Date: Thu, 14 Dec 2006 18:26:26 +0000 From: Alan To: Greg KH Cc: Hans-J??rgen Koch , Hua Zhong , "'Martin J. Bligh'" , "'Linus Torvalds'" , "'Jonathan Corbet'" , "'Andrew Morton'" , "'Michael K. Edwards'" , linux-kernel@vger.kernel.org Subject: Re: GPL only modules [was Re: [GIT PATCH] more Driver core patches for 2.6.19] Message-ID: <20061214182626.6b07c6ad@localhost.localdomain> In-Reply-To: <20061214165954.GA23138@suse.de> References: <4580E37F.8000305@mbligh.org> <200612141231.17331.hjk@linutronix.de> <20061214124241.44347df6@localhost.localdomain> <200612141354.26506.hjk@linutronix.de> <20061214165954.GA23138@suse.de> X-Mailer: Sylpheed-Claws 2.6.0 (GTK+ 2.8.20; x86_64-redhat-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1080 Lines: 25 > Think of uio as just a "class" of driver, like input or v4l. It's still > up to the driver writer to provide a proper bus interface to the > hardware (pci, usb, etc.) in order for the device to work at all. Understood. That leads me to ask another question of the folks who deal with a lot of these cards. How many could reasonably be described by the following bar to map, offset, length, ro/rw, root/user, local-offset (x n ?) interrupt function or null It seems if we have a lot of this kind of card that all fit that pattern it might actually get more vendors submitting updates if we had a single pci driver that took a struct of the above as the device_id field so vendors had to write five lines of IRQ code, a struct and update a PCI table ? That seems to have mostly worked with all the parallel/serial boards. Alan - 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/