Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/arm/marvell Add bus-space-tags for PEX1 of Kirkwood...



details:   https://anonhg.NetBSD.org/src/rev/6c8e33f959b6
branches:  trunk
changeset: 780253:6c8e33f959b6
user:      kiyohara <kiyohara%NetBSD.org@localhost>
date:      Wed Jul 18 09:56:49 2012 +0000

description:
Add bus-space-tags for PEX1 of Kirkwood.  But not test.

diffstat:

 sys/arch/arm/marvell/mvsoc_space.c |  16 ++++++++++++++--
 1 files changed, 14 insertions(+), 2 deletions(-)

diffs (37 lines):

diff -r 806751b49718 -r 6c8e33f959b6 sys/arch/arm/marvell/mvsoc_space.c
--- a/sys/arch/arm/marvell/mvsoc_space.c        Wed Jul 18 09:51:23 2012 +0000
+++ b/sys/arch/arm/marvell/mvsoc_space.c        Wed Jul 18 09:56:49 2012 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: mvsoc_space.c,v 1.3 2012/07/15 20:53:50 matt Exp $     */
+/*     $NetBSD: mvsoc_space.c,v 1.4 2012/07/18 09:56:49 kiyohara Exp $ */
 /*
  * Copyright (c) 2007 KIYOHARA Takashi
  * All rights reserved.
@@ -26,7 +26,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: mvsoc_space.c,v 1.3 2012/07/15 20:53:50 matt Exp $");
+__KERNEL_RCSID(0, "$NetBSD: mvsoc_space.c,v 1.4 2012/07/18 09:56:49 kiyohara Exp $");
 
 #include "opt_mvsoc.h"
 #include "mvpex.h"
@@ -195,6 +195,18 @@
        MVSOC_BUS_SPACE_NORMAL_FUNCS,
 #endif
 };
+struct bus_space kirkwood_pex1_mem_bs_tag = {
+       /* cookie */
+       (void *)KIRKWOOD_TAG_PEX1_MEM,
+
+       MVSOC_BUS_SPACE_DEFAULT_FUNCS
+};
+struct bus_space kirkwood_pex1_io_bs_tag = {
+       /* cookie */
+       (void *)KIRKWOOD_TAG_PEX1_IO,
+
+       MVSOC_BUS_SPACE_DEFAULT_FUNCS
+};
 #endif
 #endif
 



Home | Main Index | Thread Index | Old Index