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 Fix intr_establish. PCI interrupt is L...



details:   https://anonhg.NetBSD.org/src/rev/e6c2323c03d8
branches:  trunk
changeset: 816565:e6c2323c03d8
user:      kiyohara <kiyohara%NetBSD.org@localhost>
date:      Tue Jul 12 13:43:18 2016 +0000

description:
Fix intr_establish.  PCI interrupt is LEVEL LOW.

diffstat:

 sys/arch/arm/marvell/pci_machdep.c |  7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diffs (28 lines):

diff -r bdf2e08acadc -r e6c2323c03d8 sys/arch/arm/marvell/pci_machdep.c
--- a/sys/arch/arm/marvell/pci_machdep.c        Tue Jul 12 13:32:14 2016 +0000
+++ b/sys/arch/arm/marvell/pci_machdep.c        Tue Jul 12 13:43:18 2016 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pci_machdep.c,v 1.9 2015/10/02 05:22:50 msaitoh Exp $  */
+/*     $NetBSD: pci_machdep.c,v 1.10 2016/07/12 13:43:18 kiyohara Exp $        */
 /*
  * Copyright (c) 2008 KIYOHARA Takashi
  * All rights reserved.
@@ -26,7 +26,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: pci_machdep.c,v 1.9 2015/10/02 05:22:50 msaitoh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pci_machdep.c,v 1.10 2016/07/12 13:43:18 kiyohara Exp $");
 
 #include "opt_mvsoc.h"
 #include "gtpci.h"
@@ -352,7 +352,8 @@
        int2gpp = prop_dictionary_get(device_properties(sc->sc_dev), "int2gpp");
        gpp = prop_array_get(int2gpp, int_pin);
        gpp_pin = prop_number_integer_value(gpp);
-       return mvsocgpp_intr_establish(gpp_pin, ipl, 0, intrhand, intrarg);
+       return mvsocgpp_intr_establish(gpp_pin, ipl, IST_LEVEL_LOW, intrhand,
+           intrarg);
 }
 
 static void



Home | Main Index | Thread Index | Old Index