Subject: alpha_shared_intr missing for pceb ?
To: None <port-alpha@netbsd.org>
From: Manuel Bouyer <bouyer@antioche.lip6.fr>
List: port-alpha
Date: 01/13/2003 21:18:37
--zhXaljGHf11kAtnf
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

Hi,
trying to compile a cut-down kernel for my alphaserver2100, I ran into
undefined symbols from sio_pci.c, for functions from common/shared_intr.c
Adding the alpha_shared_intr attribute to pceb (to pull in
common/shared_intr.c even with no sio in the config) gave a working kernel.
Is this the right fix ?

--
Manuel Bouyer, LIP6, Universite Paris VI.           Manuel.Bouyer@lip6.fr
     NetBSD: 23 ans d'experience feront toujours la difference
--

--zhXaljGHf11kAtnf
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="alpha.diff"

Index: files.alpha
===================================================================
RCS file: /cvsroot/src/sys/arch/alpha/conf/files.alpha,v
retrieving revision 1.159
diff -u -r1.159 files.alpha
--- files.alpha	2002/10/26 13:50:21	1.159
+++ files.alpha	2003/01/13 20:15:36
@@ -411,7 +411,7 @@
 
 device	sio: isabus, alpha_shared_intr, cy82c693
 attach	sio at pci
-device	pceb: isabus, eisabus, cy82c693
+device	pceb: isabus, eisabus, cy82c693, alpha_shared_intr
 attach	pceb at pci
 file	arch/alpha/pci/sio.c		sio | pceb	needs-flag
 file	arch/alpha/pci/sio_pic.c	sio | pceb

--zhXaljGHf11kAtnf--