artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5fb66c1
)
Attach the xhci(4) FDT driver to the generic-xhci compatible as well.
author
patrick
<patrick@openbsd.org>
Fri, 2 Jun 2017 11:06:08 +0000
(11:06 +0000)
committer
patrick
<patrick@openbsd.org>
Fri, 2 Jun 2017 11:06:08 +0000
(11:06 +0000)
sys/dev/fdt/xhci_fdt.c
patch
|
blob
|
history
diff --git
a/sys/dev/fdt/xhci_fdt.c
b/sys/dev/fdt/xhci_fdt.c
index
b30e132
..
019ae6e
100644
(file)
--- 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