Module Name: src Committed By: skrll Date: Tue Sep 23 15:02:08 UTC 2014
Modified Files: src/sys/arch/evbarm/awin: awin_machdep.c Log Message: Fix up usb0drv for BPI To generate a diff of this commit: cvs rdiff -u -r1.11 -r1.12 src/sys/arch/evbarm/awin/awin_machdep.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/arch/evbarm/awin/awin_machdep.c diff -u src/sys/arch/evbarm/awin/awin_machdep.c:1.11 src/sys/arch/evbarm/awin/awin_machdep.c:1.12 --- src/sys/arch/evbarm/awin/awin_machdep.c:1.11 Mon Sep 15 19:30:16 2014 +++ src/sys/arch/evbarm/awin/awin_machdep.c Tue Sep 23 15:02:08 2014 @@ -1,4 +1,4 @@ -/* $NetBSD: awin_machdep.c,v 1.11 2014/09/15 19:30:16 martin Exp $ */ +/* $NetBSD: awin_machdep.c,v 1.12 2014/09/23 15:02:08 skrll Exp $ */ /* * Machine dependent functions for kernel setup for TI OSK5912 board. @@ -125,7 +125,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: awin_machdep.c,v 1.11 2014/09/15 19:30:16 martin Exp $"); +__KERNEL_RCSID(0, "$NetBSD: awin_machdep.c,v 1.12 2014/09/23 15:02:08 skrll Exp $"); #include "opt_machdep.h" #include "opt_ddb.h" @@ -591,7 +591,7 @@ awin_device_register(device_t self, void */ prop_dictionary_set_cstring(dict, "satapwren", (cubietruck_p ? ">PH12" : ">PB8")); -#if AWIN_board == AWIN_cubieboard || AWIN_board == AWIN_cubietruck +#if AWIN_board == AWIN_cubieboard || AWIN_board == AWIN_cubietruck || AWIN_board == AWIN_bpi if (cubietruck_p) { prop_dictionary_set_cstring(dict, "usb0drv", ">PH17"); } else if (awin_chip_id() == AWIN_CHIP_ID_A20) {