diff options
author | Patrick Wildt <patrick@cvs.openbsd.org> | 2017-06-02 11:06:09 +0000 |
---|---|---|
committer | Patrick Wildt <patrick@cvs.openbsd.org> | 2017-06-02 11:06:09 +0000 |
commit | e9e8899703970126c919e7f8ea3c9deec8f56246 (patch) | |
tree | 8c875f0fc82abb9c2de383f0d76e68490386f0b1 /sys/dev | |
parent | 25e42bef5c95c361d74cead972f01b79d44dc4c6 (diff) |
Attach the xhci(4) FDT driver to the generic-xhci compatible as well.
Diffstat (limited to 'sys/dev')
-rw-r--r-- | sys/dev/fdt/xhci_fdt.c | 5 |
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 |