From mboxrd@z Thu Jan 1 00:00:00 1970 Received: with ECARTIS (v1.0.0; list linux-mips); Sun, 04 Jun 2006 00:59:05 +0200 (CEST) Received: from localhost.localdomain ([127.0.0.1]:19423 "EHLO bacchus.dhis.org") by ftp.linux-mips.org with ESMTP id S8133892AbWFCW65 (ORCPT ); Sun, 4 Jun 2006 00:58:57 +0200 Received: from denk.linux-mips.net (denk.linux-mips.net [127.0.0.1]) by bacchus.dhis.org (8.13.6/8.13.4) with ESMTP id k53Mwu4x002287; Sat, 3 Jun 2006 23:58:56 +0100 Received: (from ralf@localhost) by denk.linux-mips.net (8.13.6/8.13.6/Submit) id k53MwtgN002286; Sat, 3 Jun 2006 23:58:55 +0100 Date: Sat, 3 Jun 2006 23:58:55 +0100 From: Ralf Baechle To: gregkh@suse.de, linux-usb-devel@lists.sourceforge.net, dbrownell@users.sourceforge.net, linux-usb-devel@lists.sourceforge.net, linux-mips@linux-mips.org Subject: [PATCH] EHCI on non-Au1200 build fix Message-ID: <20060603225855.GA2234@linux-mips.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.1i 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: 11657 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: ralf@linux-mips.org Precedence: bulk X-list: linux-mips Including ehci-au1xxx.c on a non-Au1200 Alchemy only to have it throw an error is stupid. diff --git a/drivers/usb/host/ehci-au1xxx.c b/drivers/usb/host/ehci-au1xxx.c index 63eadee..9315898 100644 --- a/drivers/usb/host/ehci-au1xxx.c +++ b/drivers/usb/host/ehci-au1xxx.c @@ -16,10 +16,6 @@ #include #include -#ifndef CONFIG_SOC_AU1200 -#error "this Alchemy chip doesn't have EHCI" -#else /* Au1200 */ - #define USB_HOST_CONFIG (USB_MSR_BASE + USB_MSR_MCFG) #define USB_MCFG_PFEN (1<<31) #define USB_MCFG_RDCOMB (1<<30) diff --git a/drivers/usb/host/ehci-hcd.c b/drivers/usb/host/ehci-hcd.c index 79f2d8b..c77e527 100644 --- a/drivers/usb/host/ehci-hcd.c +++ b/drivers/usb/host/ehci-hcd.c @@ -897,7 +897,7 @@ #include "ehci-fsl.c" #define EHCI_BUS_GLUED #endif -#ifdef CONFIG_SOC_AU1X00 +#ifdef CONFIG_SOC_AU1200 #include "ehci-au1xxx.c" #define EHCI_BUS_GLUED #endif From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from localhost.localdomain ([127.0.0.1]:19423 "EHLO bacchus.dhis.org") by ftp.linux-mips.org with ESMTP id S8133892AbWFCW65 (ORCPT ); Sun, 4 Jun 2006 00:58:57 +0200 Date: Sat, 3 Jun 2006 23:58:55 +0100 From: Ralf Baechle Subject: [PATCH] EHCI on non-Au1200 build fix Message-ID: <20060603225855.GA2234@linux-mips.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Return-Path: Sender: linux-mips-bounce@linux-mips.org Errors-to: linux-mips-bounce@linux-mips.org To: gregkh@suse.de, linux-usb-devel@lists.sourceforge.net, dbrownell@users.sourceforge.netlinux-usb-devel@lists.sourceforge.net, linux-mips@linux-mips.org Message-ID: <20060603225855.EphH0BOg5TSv1PA1_mhaB_pI2ALgp3MrwsMqCG05J4k@z> Including ehci-au1xxx.c on a non-Au1200 Alchemy only to have it throw an error is stupid. diff --git a/drivers/usb/host/ehci-au1xxx.c b/drivers/usb/host/ehci-au1xxx.c index 63eadee..9315898 100644 --- a/drivers/usb/host/ehci-au1xxx.c +++ b/drivers/usb/host/ehci-au1xxx.c @@ -16,10 +16,6 @@ #include #include -#ifndef CONFIG_SOC_AU1200 -#error "this Alchemy chip doesn't have EHCI" -#else /* Au1200 */ - #define USB_HOST_CONFIG (USB_MSR_BASE + USB_MSR_MCFG) #define USB_MCFG_PFEN (1<<31) #define USB_MCFG_RDCOMB (1<<30) diff --git a/drivers/usb/host/ehci-hcd.c b/drivers/usb/host/ehci-hcd.c index 79f2d8b..c77e527 100644 --- a/drivers/usb/host/ehci-hcd.c +++ b/drivers/usb/host/ehci-hcd.c @@ -897,7 +897,7 @@ #include "ehci-fsl.c" #define EHCI_BUS_GLUED #endif -#ifdef CONFIG_SOC_AU1X00 +#ifdef CONFIG_SOC_AU1200 #include "ehci-au1xxx.c" #define EHCI_BUS_GLUED #endif