Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/arm/sunxi Fix bit offsets for OHCI
details: https://anonhg.NetBSD.org/src/rev/fba3f2c42b5a
branches: trunk
changeset: 356174:fba3f2c42b5a
user: jmcneill <jmcneill%NetBSD.org@localhost>
date: Thu Sep 07 10:23:32 2017 +0000
description:
Fix bit offsets for OHCI
diffstat:
sys/arch/arm/sunxi/sun50i_a64_ccu.c | 12 ++++++------
1 files changed, 6 insertions(+), 6 deletions(-)
diffs (41 lines):
diff -r 404e44802752 -r fba3f2c42b5a sys/arch/arm/sunxi/sun50i_a64_ccu.c
--- a/sys/arch/arm/sunxi/sun50i_a64_ccu.c Thu Sep 07 10:18:26 2017 +0000
+++ b/sys/arch/arm/sunxi/sun50i_a64_ccu.c Thu Sep 07 10:23:32 2017 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: sun50i_a64_ccu.c,v 1.1 2017/09/07 01:07:04 jmcneill Exp $ */
+/* $NetBSD: sun50i_a64_ccu.c,v 1.2 2017/09/07 10:23:32 jmcneill Exp $ */
/*-
* Copyright (c) 2017 Jared McNeill <jmcneill%invisible.ca@localhost>
@@ -28,7 +28,7 @@
#include <sys/cdefs.h>
-__KERNEL_RCSID(1, "$NetBSD: sun50i_a64_ccu.c,v 1.1 2017/09/07 01:07:04 jmcneill Exp $");
+__KERNEL_RCSID(1, "$NetBSD: sun50i_a64_ccu.c,v 1.2 2017/09/07 10:23:32 jmcneill Exp $");
#include <sys/param.h>
#include <sys/bus.h>
@@ -103,8 +103,8 @@
SUNXI_CCU_RESET(A64_RST_BUS_OTG, BUS_SOFT_RST_REG0, 23),
SUNXI_CCU_RESET(A64_RST_BUS_EHCI0, BUS_SOFT_RST_REG0, 24),
SUNXI_CCU_RESET(A64_RST_BUS_EHCI1, BUS_SOFT_RST_REG0, 25),
- SUNXI_CCU_RESET(A64_RST_BUS_OHCI0, BUS_SOFT_RST_REG0, 26),
- SUNXI_CCU_RESET(A64_RST_BUS_OHCI1, BUS_SOFT_RST_REG0, 27),
+ SUNXI_CCU_RESET(A64_RST_BUS_OHCI0, BUS_SOFT_RST_REG0, 28),
+ SUNXI_CCU_RESET(A64_RST_BUS_OHCI1, BUS_SOFT_RST_REG0, 29),
SUNXI_CCU_RESET(A64_RST_BUS_VE, BUS_SOFT_RST_REG1, 0),
SUNXI_CCU_RESET(A64_RST_BUS_TCON0, BUS_SOFT_RST_REG1, 3),
@@ -227,9 +227,9 @@
SUNXI_CCU_GATE(A64_CLK_BUS_EHCI1, "bus-ehci1", "ahb2",
BUS_CLK_GATING_REG0, 25),
SUNXI_CCU_GATE(A64_CLK_BUS_OHCI0, "bus-ohci0", "ahb1",
- BUS_CLK_GATING_REG0, 26),
+ BUS_CLK_GATING_REG0, 28),
SUNXI_CCU_GATE(A64_CLK_BUS_OHCI1, "bus-ohci1", "ahb2",
- BUS_CLK_GATING_REG0, 27),
+ BUS_CLK_GATING_REG0, 29),
SUNXI_CCU_GATE(A64_CLK_BUS_VE, "bus-ve", "ahb1",
BUS_CLK_GATING_REG1, 0),
Home |
Main Index |
Thread Index |
Old Index