From: Ralf Baechle <ralf@linux-mips.org>
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
Date: Sat, 3 Jun 2006 23:58:55 +0100 [thread overview]
Message-ID: <20060603225855.GA2234@linux-mips.org> (raw)
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 <linux/platform_device.h>
#include <asm/mach-au1x00/au1000.h>
-#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
WARNING: multiple messages have this Message-ID (diff)
From: Ralf Baechle <ralf@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
Subject: [PATCH] EHCI on non-Au1200 build fix
Date: Sat, 3 Jun 2006 23:58:55 +0100 [thread overview]
Message-ID: <20060603225855.GA2234@linux-mips.org> (raw)
Message-ID: <20060603225855.EphH0BOg5TSv1PA1_mhaB_pI2ALgp3MrwsMqCG05J4k@z> (raw)
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 <linux/platform_device.h>
#include <asm/mach-au1x00/au1000.h>
-#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
next reply other threads:[~2006-06-03 22:59 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-06-03 22:58 Ralf Baechle [this message]
2006-06-03 22:58 ` [PATCH] EHCI on non-Au1200 build fix Ralf Baechle
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20060603225855.GA2234@linux-mips.org \
--to=ralf@linux-mips.org \
--cc=dbrownell@users.sourceforge.net \
--cc=gregkh@suse.de \
--cc=linux-mips@linux-mips.org \
--cc=linux-usb-devel@lists.sourceforge.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.