Subject: kn01_intr_establish in sys/dev/tc/if_le_ibus.c
To: None <current-users@NetBSD.ORG>
From: Thorsten Frueauf <s_frueau@ira.uka.de>
List: port-pmax
Date: 04/08/1998 00:25:48
Hello!

I get an error on a DS 3100 with current sources (as of 06.04.1998)
while compiling a new kernel at sys/dev/tc/if_le_ibus.c.
This is related with pr 5253. The following diff fixed that for me,
but is it TRT too?

--- snip ---
--- sys/arch/pmax/pmax/kn01var.h-orig	Fri Jan 16 18:07:53 1998
+++ sys/arch/pmax/pmax/kn01var.h	Mon Apr  6 16:21:54 1998
@@ -24,4 +24,10 @@
 void
 kn01_intr_establish __P((struct device *parent, void * cookie, int level,
 			 int (*handler) __P((intr_arg_t)), intr_arg_t arg));
+
+void    ibus_intr_establish __P((struct device *, void *, int,
+				 int (*handler) __P((intr_arg_t)),
+				 intr_arg_t));
+void    ibus_intr_disestablish __P((struct confargs *));
+
 #endif	/* _KN01VAR_H */
--- sys/dev/tc/if_le_ibus.c-orig	Fri Jan 16 18:09:28 1998
+++ sys/dev/tc/if_le_ibus.c	Mon Apr  6 16:13:18 1998
@@ -100,7 +100,7 @@
 
 	dec_le_common_attach(sc, cp);
 	/* XXX more thought about ca->slotpri */
-	kn01_intr_establish(parent, (void*)ca->ca_slotpri, TC_IPL_NET,
+	ibus_intr_establish(parent, (void*)ca->ca_slotpri, TC_IPL_NET,
 			  am7990_intr, sc);
 }
--- snip ---

Greets 
-- 

   Name  : Thorsten Frueauf            Milano@irc cri@onaliM       //
   E-Mail: s_frueau@ira.uka.de oder ukfy@rz.uni-karlsruhe.de     \X/