From mboxrd@z Thu Jan 1 00:00:00 1970 Received: with ECARTIS (v1.0.0; list linux-mips); Mon, 06 Aug 2007 21:16:59 +0100 (BST) Received: from hall.aurel32.net ([88.191.38.19]:51121 "EHLO hall.aurel32.net") by ftp.linux-mips.org with ESMTP id S20022091AbXHFUQ4 (ORCPT ); Mon, 6 Aug 2007 21:16:56 +0100 Received: from aurel32 by hall.aurel32.net with local (Exim 4.63) (envelope-from ) id 1II90U-0001EI-JQ; Mon, 06 Aug 2007 22:16:50 +0200 Date: Mon, 6 Aug 2007 22:16:50 +0200 From: Aurelien Jarno To: Michael Buesch Cc: Felix Fietkau , Andrew Morton , linux-mips@linux-mips.org, Waldemar Brodkorb , Florian Schirmer Subject: [PATCH -mm 3/4] MIPS: Add BCM947XX to Kconfig (v2) Message-ID: <20070806201650.GA4645@hall.aurel32.net> References: <20070806150931.GH24308@hall.aurel32.net> <200708062009.14971.mb@bu3sch.de> <46B764D3.2030402@openwrt.org> <200708062024.53952.mb@bu3sch.de> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Disposition: inline In-Reply-To: <200708062024.53952.mb@bu3sch.de> X-Mailer: Mutt 1.5.13 (2006-08-11) User-Agent: Mutt/1.5.13 (2006-08-11) Return-Path: X-Envelope-To: <"|/home/ecartis/ecartis -s linux-mips"> (uid 0) X-Orcpt: rfc822;linux-mips@linux-mips.org Original-Recipient: rfc822;linux-mips@linux-mips.org X-archive-position: 16090 X-ecartis-version: Ecartis v1.0.0 Sender: linux-mips-bounce@linux-mips.org Errors-to: linux-mips-bounce@linux-mips.org X-original-sender: aurelien@aurel32.net Precedence: bulk X-list: linux-mips The patch below against 2.6.23-rc1-mm2 adds a BCM947XX option to Kconfig and modify the SSB Kconfig to select SSB_PCICORE_HOSTMODE by default with BCM947XX CPUs. Cc: Michael Buesch Cc: Waldemar Brodkorb Cc: Felix Fietkau Cc: Florian Schirmer Signed-off-by: Aurelien Jarno --- a/arch/mips/Kconfig +++ b/arch/mips/Kconfig @@ -67,6 +67,20 @@ note that a kernel built with this option selected will not be able to run on normal units. +config BCM947XX + bool "BCM947xx based boards" + select DMA_NONCOHERENT + select HW_HAS_PCI + select IRQ_CPU + select SYS_HAS_CPU_MIPS32_R1 + select SYS_SUPPORTS_32BIT_KERNEL + select SYS_SUPPORTS_LITTLE_ENDIAN + select SSB + select SSB_DRIVER_MIPS + select GENERIC_GPIO + help + Support for BCM947xx based boards + config MIPS_COBALT bool "Cobalt Server" select DMA_NONCOHERENT --- a/drivers/ssb/Kconfig +++ b/drivers/ssb/Kconfig @@ -67,6 +67,7 @@ config SSB_PCICORE_HOSTMODE bool "Hostmode support for SSB PCI core" depends on SSB_DRIVER_PCICORE && SSB_DRIVER_MIPS + default y if BCM947XX help PCIcore hostmode operation (external PCI bus). -- .''`. Aurelien Jarno | GPG: 1024D/F1BCDB73 : :' : Debian developer | Electrical Engineer `. `' aurel32@debian.org | aurelien@aurel32.net `- people.debian.org/~aurel32 | www.aurel32.net