Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/xen/include The line number in the PCI interrupt re...



details:   https://anonhg.NetBSD.org/src/rev/ff120af10a77
branches:  trunk
changeset: 584170:ff120af10a77
user:      bouyer <bouyer%NetBSD.org@localhost>
date:      Sat Sep 10 18:24:35 2005 +0000

description:
The line number in the PCI interrupt register can be larger than 31 on
some hardware, depending on how Xen set things up. So bump NR_PIRQ from 32
to 256.

diffstat:

 sys/arch/xen/include/evtchn.h |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 40cc559c39f1 -r ff120af10a77 sys/arch/xen/include/evtchn.h
--- a/sys/arch/xen/include/evtchn.h     Sat Sep 10 18:05:51 2005 +0000
+++ b/sys/arch/xen/include/evtchn.h     Sat Sep 10 18:24:35 2005 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: evtchn.h,v 1.9 2005/04/28 18:26:26 yamt Exp $  */
+/*     $NetBSD: evtchn.h,v 1.10 2005/09/10 18:24:35 bouyer Exp $       */
 
 /*
  *
@@ -34,7 +34,7 @@
 #ifndef _XEN_EVENTS_H_
 #define _XEN_EVENTS_H_
 
-#define NR_PIRQS       32
+#define NR_PIRQS       256
 
 extern struct evtsource *evtsource[];
 



Home | Main Index | Thread Index | Old Index