Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/evbarm/odroid Allow bits to be used for the usb hub...
details: https://anonhg.NetBSD.org/src/rev/9a123a6f7d07
branches: trunk
changeset: 331565:9a123a6f7d07
user: reinoud <reinoud%NetBSD.org@localhost>
date: Thu Aug 14 15:57:51 2014 +0000
description:
Allow bits to be used for the usb hub on Odroid-XU
diffstat:
sys/arch/evbarm/odroid/odroid_machdep.c | 12 +++++++-----
1 files changed, 7 insertions(+), 5 deletions(-)
diffs (40 lines):
diff -r 4d2473b21723 -r 9a123a6f7d07 sys/arch/evbarm/odroid/odroid_machdep.c
--- a/sys/arch/evbarm/odroid/odroid_machdep.c Thu Aug 14 15:50:42 2014 +0000
+++ b/sys/arch/evbarm/odroid/odroid_machdep.c Thu Aug 14 15:57:51 2014 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: odroid_machdep.c,v 1.25 2014/08/14 15:44:42 reinoud Exp $ */
+/* $NetBSD: odroid_machdep.c,v 1.26 2014/08/14 15:57:51 reinoud Exp $ */
/*
* Copyright (c) 2014 The NetBSD Foundation, Inc.
@@ -31,7 +31,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: odroid_machdep.c,v 1.25 2014/08/14 15:44:42 reinoud Exp $");
+__KERNEL_RCSID(0, "$NetBSD: odroid_machdep.c,v 1.26 2014/08/14 15:57:51 reinoud Exp $");
#include "opt_evbarm_boardtype.h"
#include "opt_exynos.h"
@@ -573,7 +573,7 @@
/* expansion connector bits at pin 0,1,5 : */
prop_dictionary_set_uint32(dict, "nc-GPX1", 0xff - 0b00100011);
prop_dictionary_set_uint32(dict, "nc-GPX2", 0xff - 0b00000000);
- /* hub communication at pin 0,4,5 : */
+ /* usb hub communication at pin 0,4,5 : */
prop_dictionary_set_uint32(dict, "nc-GPX3", 0xff - 0b00110001);
prop_dictionary_set_uint32(dict, "nc-GPZ", 0xff - 0b00000000);
prop_dictionary_set_uint32(dict, "nc-GPV0", 0xff - 0b00000000);
@@ -621,8 +621,10 @@
prop_dictionary_set_uint32(dict, "nc-ETC6", 0x7f - 0b00000000);
prop_dictionary_set_uint32(dict, "nc-ETC7", 0x1f - 0b00000000);
prop_dictionary_set_uint32(dict, "nc-GPC4", 0x3f - 0b00000000);
- prop_dictionary_set_uint32(dict, "nc-GPX0", 0xff - 0b00000000);
- prop_dictionary_set_uint32(dict, "nc-GPX1", 0xff - 0b00000000);
+ /* usb hub communication at bit 6,7 : */
+ prop_dictionary_set_uint32(dict, "nc-GPX0", 0xff - 0b11000000);
+ /* usb hub communication at bit 4 : */
+ prop_dictionary_set_uint32(dict, "nc-GPX1", 0xff - 0b00010000);
/* blue led at bit 3 : microSD activity */
prop_dictionary_set_uint32(dict, "nc-GPX2", 0xff - 0b00001000);
prop_dictionary_set_uint32(dict, "nc-GPX3", 0xff - 0b00000000);
Home |
Main Index |
Thread Index |
Old Index