summaryrefslogtreecommitdiff
path: root/sys/arch/beagle/dev/omehci.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch/beagle/dev/omehci.c')
-rw-r--r--sys/arch/beagle/dev/omehci.c10
1 files changed, 9 insertions, 1 deletions
diff --git a/sys/arch/beagle/dev/omehci.c b/sys/arch/beagle/dev/omehci.c
index 37396d367f2..ed602089a22 100644
--- a/sys/arch/beagle/dev/omehci.c
+++ b/sys/arch/beagle/dev/omehci.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: omehci.c,v 1.5 2011/03/14 14:20:58 jasper Exp $ */
+/* $OpenBSD: omehci.c,v 1.6 2011/10/21 22:55:01 drahn Exp $ */
/*
* Copyright (c) 2005 David Gwynne <dlg@openbsd.org>
@@ -62,6 +62,14 @@ omehci_match(struct device *parent, void *match, void *aux)
{
struct ahb_attach_args *aa = aux;
+ switch (board_id) {
+ case BOARD_ID_OMAP3_BEAGLE:
+ break; /* continue trying */
+ case BOARD_ID_OMAP4_PANDA:
+ return 0; /* not ported yet ??? - different */
+ default:
+ return 0; /* unknown */
+ }
if (aa->aa_addr != EHCI_HCPCAPBASE)
return 0;