Module Name: src Committed By: jmcneill Date: Thu Oct 15 09:33:44 UTC 2020
Modified Files: src/sys/dev/fdt: dwc3_fdt.c Log Message: Initialise xhci_softc sc_ios To generate a diff of this commit: cvs rdiff -u -r1.10 -r1.11 src/sys/dev/fdt/dwc3_fdt.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/dev/fdt/dwc3_fdt.c diff -u src/sys/dev/fdt/dwc3_fdt.c:1.10 src/sys/dev/fdt/dwc3_fdt.c:1.11 --- src/sys/dev/fdt/dwc3_fdt.c:1.10 Thu Mar 26 00:21:27 2020 +++ src/sys/dev/fdt/dwc3_fdt.c Thu Oct 15 09:33:44 2020 @@ -1,4 +1,4 @@ -/* $NetBSD: dwc3_fdt.c,v 1.10 2020/03/26 00:21:27 thorpej Exp $ */ +/* $NetBSD: dwc3_fdt.c,v 1.11 2020/10/15 09:33:44 jmcneill Exp $ */ /*- * Copyright (c) 2018 Jared McNeill <jmcne...@invisible.ca> @@ -27,7 +27,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: dwc3_fdt.c,v 1.10 2020/03/26 00:21:27 thorpej Exp $"); +__KERNEL_RCSID(0, "$NetBSD: dwc3_fdt.c,v 1.11 2020/10/15 09:33:44 jmcneill Exp $"); #include <sys/param.h> #include <sys/bus.h> @@ -278,6 +278,7 @@ dwc3_fdt_attach(device_t parent, device_ sc->sc_dev = self; sc->sc_bus.ub_hcpriv = sc; sc->sc_bus.ub_dmatag = faa->faa_dmat; + sc->sc_ios = size; sc->sc_iot = faa->faa_bst; if (bus_space_map(sc->sc_iot, addr, size, 0, &sc->sc_ioh) != 0) { aprint_error(": couldn't map registers\n");