Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/evbarm/tegra set vbus-gpio property on tegrausbphy, ...
details: https://anonhg.NetBSD.org/src/rev/14ccd181fc07
branches: trunk
changeset: 341640:14ccd181fc07
user: jmcneill <jmcneill%NetBSD.org@localhost>
date: Sat Nov 14 23:32:31 2015 +0000
description:
set vbus-gpio property on tegrausbphy, not ehci
diffstat:
sys/arch/evbarm/tegra/tegra_machdep.c | 10 ++++------
1 files changed, 4 insertions(+), 6 deletions(-)
diffs (38 lines):
diff -r 0b1cb4181771 -r 14ccd181fc07 sys/arch/evbarm/tegra/tegra_machdep.c
--- a/sys/arch/evbarm/tegra/tegra_machdep.c Sat Nov 14 23:17:39 2015 +0000
+++ b/sys/arch/evbarm/tegra/tegra_machdep.c Sat Nov 14 23:32:31 2015 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: tegra_machdep.c,v 1.29 2015/11/14 23:17:39 jmcneill Exp $ */
+/* $NetBSD: tegra_machdep.c,v 1.30 2015/11/14 23:32:31 jmcneill Exp $ */
/*-
* Copyright (c) 2015 Jared D. McNeill <jmcneill%invisible.ca@localhost>
@@ -27,7 +27,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: tegra_machdep.c,v 1.29 2015/11/14 23:17:39 jmcneill Exp $");
+__KERNEL_RCSID(0, "$NetBSD: tegra_machdep.c,v 1.30 2015/11/14 23:32:31 jmcneill Exp $");
#include "opt_tegra.h"
#include "opt_machdep.h"
@@ -488,8 +488,7 @@
prop_dictionary_set_cstring(dict, "power-gpio", "EE2");
}
- if (device_is_a(self, "ehci")
- && device_is_a(device_parent(self), "tegraio")) {
+ if (device_is_a(self, "tegrausbphy")) {
struct tegraio_attach_args * const tio = aux;
const struct tegra_locators * const loc = &tio->tio_loc;
@@ -520,8 +519,7 @@
}
}
- if (device_is_a(self, "ehci")
- && device_is_a(device_parent(self), "tegraio")) {
+ if (device_is_a(self, "tegrausbphy")) {
struct tegraio_attach_args * const tio = aux;
const struct tegra_locators * const loc = &tio->tio_loc;
Home |
Main Index |
Thread Index |
Old Index