Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/arm/nvidia enable SATA OOB clock
details: https://anonhg.NetBSD.org/src/rev/d3054823216c
branches: trunk
changeset: 338202:d3054823216c
user: jmcneill <jmcneill%NetBSD.org@localhost>
date: Thu May 14 10:23:03 2015 +0000
description:
enable SATA OOB clock
diffstat:
sys/arch/arm/nvidia/tegra_car.c | 5 +++--
sys/arch/arm/nvidia/tegra_carreg.h | 3 ++-
2 files changed, 5 insertions(+), 3 deletions(-)
diffs (43 lines):
diff -r 642c0d90d24c -r d3054823216c sys/arch/arm/nvidia/tegra_car.c
--- a/sys/arch/arm/nvidia/tegra_car.c Thu May 14 07:27:14 2015 +0000
+++ b/sys/arch/arm/nvidia/tegra_car.c Thu May 14 10:23:03 2015 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: tegra_car.c,v 1.12 2015/05/14 00:00:44 jmcneill Exp $ */
+/* $NetBSD: tegra_car.c,v 1.13 2015/05/14 10:23:03 jmcneill Exp $ */
/*-
* Copyright (c) 2015 Jared D. McNeill <jmcneill%invisible.ca@localhost>
@@ -29,7 +29,7 @@
#include "locators.h"
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: tegra_car.c,v 1.12 2015/05/14 00:00:44 jmcneill Exp $");
+__KERNEL_RCSID(0, "$NetBSD: tegra_car.c,v 1.13 2015/05/14 10:23:03 jmcneill Exp $");
#include <sys/param.h>
#include <sys/bus.h>
@@ -494,6 +494,7 @@
/* Turn on the clocks to SATA and de-assert resets */
bus_space_write_4(bst, bsh, CAR_CLK_ENB_W_SET_REG, CAR_DEV_W_SATACOLD);
bus_space_write_4(bst, bsh, CAR_CLK_ENB_V_SET_REG, CAR_DEV_V_SATA);
+ bus_space_write_4(bst, bsh, CAR_CLK_ENB_V_SET_REG, CAR_DEV_V_SATA_OOB);
bus_space_write_4(bst, bsh, CAR_RST_DEV_W_CLR_REG, CAR_DEV_W_SATACOLD);
bus_space_write_4(bst, bsh, CAR_RST_DEV_V_CLR_REG, CAR_DEV_V_SATA);
}
diff -r 642c0d90d24c -r d3054823216c sys/arch/arm/nvidia/tegra_carreg.h
--- a/sys/arch/arm/nvidia/tegra_carreg.h Thu May 14 07:27:14 2015 +0000
+++ b/sys/arch/arm/nvidia/tegra_carreg.h Thu May 14 10:23:03 2015 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: tegra_carreg.h,v 1.13 2015/05/14 00:00:44 jmcneill Exp $ */
+/* $NetBSD: tegra_carreg.h,v 1.14 2015/05/14 10:23:03 jmcneill Exp $ */
/*-
* Copyright (c) 2015 Jared D. McNeill <jmcneill%invisible.ca@localhost>
@@ -258,6 +258,7 @@
#define CAR_DEV_V_HDA __BIT(29)
#define CAR_DEV_V_SATA __BIT(28)
+#define CAR_DEV_V_SATA_OOB __BIT(27)
#define CAR_DEV_V_ACTMON __BIT(23)
#define CAR_DEV_V_ATOMICS __BIT(16)
#define CAR_DEV_V_HDA2CODEC_2X __BIT(15)
Home |
Main Index |
Thread Index |
Old Index