summaryrefslogtreecommitdiff
path: root/sys/dev/fdt
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/fdt')
-rw-r--r--sys/dev/fdt/xhci_fdt.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/dev/fdt/xhci_fdt.c b/sys/dev/fdt/xhci_fdt.c
index b30e1324e4b..019ae6e260a 100644
--- a/sys/dev/fdt/xhci_fdt.c
+++ b/sys/dev/fdt/xhci_fdt.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: xhci_fdt.c,v 1.2 2017/03/12 11:46:22 kettenis Exp $ */
+/* $OpenBSD: xhci_fdt.c,v 1.3 2017/06/02 11:06:08 patrick Exp $ */
/*
* Copyright (c) 2017 Mark kettenis <kettenis@openbsd.org>
*
@@ -56,7 +56,8 @@ xhci_fdt_match(struct device *parent, void *match, void *aux)
{
struct fdt_attach_args *faa = aux;
- return OF_is_compatible(faa->fa_node, "snps,dwc3");
+ return OF_is_compatible(faa->fa_node, "generic-xhci") ||
+ OF_is_compatible(faa->fa_node, "snps,dwc3");
}
void