From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from hermes.mvista.com (gateway-1237.mvista.com [12.44.186.158]) by ozlabs.org (Postfix) with ESMTP id CB6F168664 for ; Wed, 2 Nov 2005 03:57:16 +1100 (EST) Date: Tue, 1 Nov 2005 09:57:29 -0700 From: "Mark A. Greer" To: Paul Mackerras Message-ID: <20051101165729.GA2987@mag.az.mvista.com> References: <20051025075159.GA10316@localhost.localdomain> <17251.265.196352.234376@cargo.ozlabs.ibm.com> <20051031190524.GE5055@mag.az.mvista.com> <17255.13444.672360.996441@cargo.ozlabs.ibm.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii In-Reply-To: <17255.13444.672360.996441@cargo.ozlabs.ibm.com> Cc: Andrew Morton , linuxppc-dev@ozlabs.org, Sven Luther Subject: Re: [PATCH 2.6.14-rc5 1/1] : mv643xx_eth_pcidev - implements hotplug for the marvell gige functionality by probing the northbridge pci id. List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Tue, Nov 01, 2005 at 08:25:24PM +1100, Paul Mackerras wrote: > Mark A. Greer writes: > > > It does have a PIC, DMA engine, and SRAM that Sven mentioned but there > > are also a serial controller (MPSC), an i2c controller, and a watchdog > > timer. I would guess that the MPSC and i2c drivers, at least, should > > use MODULE_DEVICE_TABLE. If you agree, I'll add it to the list. > > But the point is that if one driver has claimed the device (because > its ID is in its module device table), the other drivers won't be able > to. Okay. TBH, I still have to look at what the MODULE_DEVICE_TABLE does so it was ignorance + laziness on my part. > You need something like the macio driver that BenH did, which > claims the macio device and creates a macio bus structure and allows > individual macio device drivers to claim the pieces of it. I'll take a look. Mark