Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/mips/rmi - in rmixl_pcie_intr_string(), convert irq...



details:   https://anonhg.NetBSD.org/src/rev/6b92bcef9ed4
branches:  trunk
changeset: 764219:6b92bcef9ed4
user:      cliff <cliff%NetBSD.org@localhost>
date:      Thu Apr 14 05:22:03 2011 +0000

description:
- in rmixl_pcie_intr_string(), convert irq to vector when calling
rmixl_intr_string()

diffstat:

 sys/arch/mips/rmi/rmixl_pcie.c |  10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diffs (45 lines):

diff -r a30fccede1c3 -r 6b92bcef9ed4 sys/arch/mips/rmi/rmixl_pcie.c
--- a/sys/arch/mips/rmi/rmixl_pcie.c    Thu Apr 14 05:21:22 2011 +0000
+++ b/sys/arch/mips/rmi/rmixl_pcie.c    Thu Apr 14 05:22:03 2011 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: rmixl_pcie.c,v 1.4 2011/04/04 20:37:52 dyoung Exp $    */
+/*     $NetBSD: rmixl_pcie.c,v 1.5 2011/04/14 05:22:03 cliff Exp $     */
 
 /*
  * Copyright (c) 2001 Wasabi Systems, Inc.
@@ -40,7 +40,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: rmixl_pcie.c,v 1.4 2011/04/04 20:37:52 dyoung Exp $");
+__KERNEL_RCSID(0, "$NetBSD: rmixl_pcie.c,v 1.5 2011/04/14 05:22:03 cliff Exp $");
 
 #include "opt_pci.h"
 #include "pci.h"
@@ -1112,7 +1112,7 @@
                switch (irq) {
                case 26:
                case 27:
-                       name = rmixl_intr_string(irq);
+                       name = rmixl_intr_string(RMIXL_IRT_VECTOR(irq));
                        break;
                }
                break;
@@ -1123,7 +1123,7 @@
                case 24:
                case 26:
                case 27:
-                       name = rmixl_intr_string(irq);
+                       name = rmixl_intr_string(RMIXL_IRT_VECTOR(irq));
                        break;
                }
                break;
@@ -1137,7 +1137,7 @@
                case 27:
                case 28:
                case 29:
-                       name = rmixl_intr_string(irq);
+                       name = rmixl_intr_string(RMIXL_IRT_VECTOR(irq));
                        break;
                }
                break;



Home | Main Index | Thread Index | Old Index