Attach the usb2 bus - missed in merge from nick-nhusb

This commit is contained in:
skrll 2017-02-27 12:38:00 +00:00
parent ac2aae0ed2
commit a3e10f0d5d
1 changed files with 4 additions and 2 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: tegra_xusb.c,v 1.2 2017/01/03 12:37:08 skrll Exp $ */
/* $NetBSD: tegra_xusb.c,v 1.3 2017/02/27 12:38:00 skrll Exp $ */
/*
* Copyright (c) 2016 Jonathan A. Kollasch
@ -30,7 +30,7 @@
#include "opt_tegra.h"
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: tegra_xusb.c,v 1.2 2017/01/03 12:37:08 skrll Exp $");
__KERNEL_RCSID(0, "$NetBSD: tegra_xusb.c,v 1.3 2017/02/27 12:38:00 skrll Exp $");
#include <sys/param.h>
#include <sys/bus.h>
@ -374,6 +374,8 @@ tegra_xusb_mountroot(device_t self)
sc->sc_child = config_found(self, &sc->sc_bus, usbctlprint);
sc->sc_child2 = config_found(self, &sc->sc_bus2, usbctlprint);
error = xusb_mailbox_send(psc, 0x01000000);
if (error) {
aprint_error_dev(self, "send failed, error=%d\n", error);