patch-2.3.13 linux/arch/alpha/kernel/sys_ruffian.c

Next file: linux/arch/alpha/kernel/time.c
Previous file: linux/arch/alpha/kernel/smp.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.12/linux/arch/alpha/kernel/sys_ruffian.c linux/arch/alpha/kernel/sys_ruffian.c
@@ -220,19 +220,25 @@
 {
 	/* FIXME: What do we do with ruffian_get_bank_size above?  */
 
+#if 1
+	pyxis_init_arch(mem_start, mem_end);
+#else
 	pyxis_enable_errors();
 	if (!pyxis_srm_window_setup()) {
 		printk("ruffian_init_arch: Skipping window register rewrites."
 		       "\n... Trust DeskStation firmware!\n");
 	}
 	pyxis_finish_init_arch();
+#endif
 }
 
 static void
 ruffian_init_pit (void)
 {
 	/* Ruffian depends on the system timer established in MILO! */
-	request_region(0x70, 0x10, "timer");
+        timer_resource.start = 0x70;
+        timer_resource.end = 0x70 + 0x10;
+        request_resource(&ioport_resource, &timer_resource);
 
 	outb(0xb6, 0x43);       /* pit counter 2: speaker */
 	outb(0x31, 0x42);

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)