Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1764552AbYBLSce (ORCPT ); Tue, 12 Feb 2008 13:32:34 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1762777AbYBLSb5 (ORCPT ); Tue, 12 Feb 2008 13:31:57 -0500 Received: from srv5.dvmed.net ([207.36.208.214]:48660 "EHLO mail.dvmed.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1762211AbYBLSby (ORCPT ); Tue, 12 Feb 2008 13:31:54 -0500 Message-ID: <47B1DDD3.2000402@garzik.org> Date: Tue, 12 Feb 2008 12:56:35 -0500 From: Jeff Garzik User-Agent: Thunderbird 2.0.0.9 (X11/20071115) MIME-Version: 1.0 To: Greg KH CC: Stephen Rothwell , LKML , linux-next@vger.kernel.org, linux-arch@vger.kernel.org, Andrew Morton , Linus Subject: Re: multiple drivers, single device (was Re: Announce: Linux-next (Or Andrew's dream :-))) References: <20080212120208.f7168a91.sfr@canb.auug.org.au> <20080212042133.GA4625@kroah.com> <47B1C829.8020800@garzik.org> <20080212164232.GA326@kroah.com> In-Reply-To: <20080212164232.GA326@kroah.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: -4.4 (----) X-Spam-Report: SpamAssassin version 3.2.3 on srv5.dvmed.net summary: Content analysis details: (-4.4 points, 5.0 required) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 783 Lines: 20 Greg KH wrote: > The work I'm doing here is for stupid PCI firmware engineers, who have > created devices that are different things, all bound up under the same > PCI device. I'm thinking of watchdog timers and random number > generator and i2c controller on the same PCI device, or even the more > basic, frame buffer and DRM access to the same PCI video device. Yes, that has a known solution: have your driver register i2c, rng, watchdog, etc. functions. Works just fine inside today's infrastructure, no changes needed. Jeff -- 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/