From: patrick Date: Fri, 2 Jun 2017 11:06:08 +0000 (+0000) Subject: Attach the xhci(4) FDT driver to the generic-xhci compatible as well. X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=66783817f59c9f1ceda9fe6819f073838c326377;p=openbsd Attach the xhci(4) FDT driver to the generic-xhci compatible as well. --- 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 * @@ -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