Update of /cvsroot/linux-vax/kernel-2.4/arch/vax/kernel
In directory usw-pr-cvs1:/tmp/cvs-serv21295
Modified Files:
cpu_vxt.c
Log Message:
Try initializing VSBUS for VXT machines. Might work...
Index: cpu_vxt.c
===================================================================
RCS file: /cvsroot/linux-vax/kernel-2.4/arch/vax/kernel/cpu_vxt.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- cpu_vxt.c 22 May 2002 00:36:31 -0000 1.4
+++ cpu_vxt.c 22 May 2002 23:16:25 -0000 1.5
@@ -18,9 +18,11 @@
#include <asm/simple_io.h>
#include <asm/vaxcpu.h>
#include <asm/clock.h> /* for clock_init routines */
+#include <asm/vsa.h>
void vxt_pre_vm_init(void);
void vxt_post_vm_init(void);
+void vxt_init_devices(void);
const char *vxt_cpu_type_str(void);
void vxt_putchar(int c);
@@ -51,7 +53,7 @@
NULL, /* halt */
NULL, /* mcheck - machine check */
- NULL, /* init_devices */
+ vxt_init_devices, /* init_devices */
vxt_cpu_type_str,
generic_clock_init,
@@ -70,6 +72,14 @@
{
init_vxt_console(0x200A0000);
register_console(&vax_console);
+}
+
+
+void vxt_init_devices(void)
+{
+#ifdef CONFIG_VSBUS
+ vsbus_setup();
+#endif /* CONFIG_VSBUS */
}
|