From: patrick Date: Sat, 24 Dec 2022 12:36:06 +0000 (+0000) Subject: Hook up xhci(4)'s activate function to the FDT attachment driver. This X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=96df42a842ab455ffb49d53f8c36d3c4df35b924;p=openbsd Hook up xhci(4)'s activate function to the FDT attachment driver. This makes the USB ports work after a suspend/resume cycle on the x13s. ok kettenis@ --- diff --git a/sys/dev/fdt/xhci_fdt.c b/sys/dev/fdt/xhci_fdt.c index 9cdb5f1eeae..753637be4aa 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.20 2022/12/12 19:18:25 kettenis Exp $ */ +/* $OpenBSD: xhci_fdt.c,v 1.21 2022/12/24 12:36:06 patrick Exp $ */ /* * Copyright (c) 2017 Mark Kettenis * @@ -58,7 +58,8 @@ int xhci_fdt_match(struct device *, void *, void *); void xhci_fdt_attach(struct device *, struct device *, void *); const struct cfattach xhci_fdt_ca = { - sizeof(struct xhci_fdt_softc), xhci_fdt_match, xhci_fdt_attach + sizeof(struct xhci_fdt_softc), xhci_fdt_match, xhci_fdt_attach, NULL, + xhci_activate }; int xhci_cdns_init(struct xhci_fdt_softc *);