From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-in-09.arcor-online.net (mail-in-09.arcor-online.net [151.189.21.49]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "mx.arcor.de", Issuer "Thawte Premium Server CA" (verified OK)) by ozlabs.org (Postfix) with ESMTP id 6A888DDEFA for ; Mon, 25 Jun 2007 20:15:29 +1000 (EST) In-Reply-To: <200706251351.55868.yur@emcraft.com> References: <200706251247.51518.yur@emcraft.com> <200706251351.55868.yur@emcraft.com> Mime-Version: 1.0 (Apple Message framework v623) Content-Type: text/plain; charset=US-ASCII; format=flowed Message-Id: From: Segher Boessenkool Subject: Re: [PATCH] ppc: Marvell mv64x60 drivers for ppc platforms fix Date: Mon, 25 Jun 2007 12:14:54 +0200 To: Yuri Tikhonov Cc: linuxppc-dev@ozlabs.org List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , > The mv64x60 driver has no support for compiling as a module. Built-in > only. Yeah I expected that that is the case right now. Could be fixed later though. > And I think there is no much sense in making the driver which provide > you > with such a base stuff as a boot console, ethernet, etc. to be a LKM. That's orthogonal to expressing it as one "module" in Kbuild, which is really just about grouping highly interdependent stuff together. But anyway, your patch looks good, I was just suggesting to clean it up some more. You don't have to do it now if you don't want to, I'm sure it will happen later :-) [Oh, and don't top-post.] >>> +mv64x60-$(CONFIG_PCI) += mv64x60_pci.o >>> +obj-$(CONFIG_MV64X60) += $(mv64x60-y) mv64x60_pic.o >>> mv64x60_dev.o >> >> How about >> >> mv64x60-pci-$(CONFIG_PCI) += mv64x60_pci.o >> mv64x60-objs := $(mv64x60-pci-y) mv64x60_pic.o >> mv64x60_dev.o >> obj-$(CONFIG_MV64X60) += mv64x60.o >> >> so you can build it is a module, too (although other things >> might be preventing that right now)? Segher