From e9e8899703970126c919e7f8ea3c9deec8f56246 Mon Sep 17 00:00:00 2001 From: Patrick Wildt Date: Fri, 2 Jun 2017 11:06:09 +0000 Subject: Attach the xhci(4) FDT driver to the generic-xhci compatible as well. --- sys/dev/fdt/xhci_fdt.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'sys/dev') 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 -- cgit v1.2.3