Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/evbarm/marvell Remove unnecessary property 'xore-ir...



details:   https://anonhg.NetBSD.org/src/rev/adff40cbe950
branches:  trunk
changeset: 780676:adff40cbe950
user:      kiyohara <kiyohara%NetBSD.org@localhost>
date:      Fri Aug 03 08:01:35 2012 +0000

description:
Remove unnecessary property 'xore-irq-begin'.

diffstat:

 sys/arch/evbarm/marvell/marvell_machdep.c |  9 +++------
 1 files changed, 3 insertions(+), 6 deletions(-)

diffs (32 lines):

diff -r 4ce59f3c801e -r adff40cbe950 sys/arch/evbarm/marvell/marvell_machdep.c
--- a/sys/arch/evbarm/marvell/marvell_machdep.c Fri Aug 03 08:00:17 2012 +0000
+++ b/sys/arch/evbarm/marvell/marvell_machdep.c Fri Aug 03 08:01:35 2012 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: marvell_machdep.c,v 1.12 2012/08/03 07:56:37 kiyohara Exp $ */
+/*     $NetBSD: marvell_machdep.c,v 1.13 2012/08/03 08:01:35 kiyohara Exp $ */
 /*
  * Copyright (c) 2007, 2008, 2010 KIYOHARA Takashi
  * All rights reserved.
@@ -25,7 +25,7 @@
  * POSSIBILITY OF SUCH DAMAGE.
  */
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: marvell_machdep.c,v 1.12 2012/08/03 07:56:37 kiyohara Exp $");
+__KERNEL_RCSID(0, "$NetBSD: marvell_machdep.c,v 1.13 2012/08/03 08:01:35 kiyohara Exp $");
 
 #include "opt_evbarm_boardtype.h"
 #include "opt_ddb.h"
@@ -812,12 +812,9 @@
            device_is_a(device_parent(dev), "mvsoc"))
                prop_dictionary_set_uint32(dict, "frequency", mvTclk);
 #endif
-       if (device_is_a(dev, "gtidmac")) {
+       if (device_is_a(dev, "gtidmac"))
                prop_dictionary_set_uint32(dict,
                    "dmb_speed", mvTclk * sizeof(uint32_t));    /* XXXXXX */
-               prop_dictionary_set_uint32(dict,
-                   "xore-irq-begin", ORION_IRQ_XOR0);
-       }
 #if NGTPCI > 0 && defined(ORION)
        if (device_is_a(dev, "gtpci")) {
                extern struct bus_space



Home | Main Index | Thread Index | Old Index