patch-1.3.41 linux/arch/alpha/kernel/setup.c

Next file: linux/arch/alpha/mm/fault.c
Previous file: linux/arch/alpha/kernel/head.S
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v1.3.40/linux/arch/alpha/kernel/setup.c linux/arch/alpha/kernel/setup.c
@@ -21,6 +21,7 @@
 #include <linux/a.out.h>
 #include <linux/tty.h>
 #include <linux/delay.h>
+#include <linux/config.h>	/* CONFIG_ALPHA_LCA etc */
 
 #include <asm/segment.h>
 #include <asm/system.h>
@@ -66,24 +67,6 @@
 	16			/* orig-video-points */
 };
 
-/*
- * Initialize Programmable Interval Timers with standard values.  Some
- * drivers depend on them being initialized (e.g., joystick driver).
- */
-static void init_pit (void)
-{
-    outb(0x54, 0x43);	/* counter 1: refresh timer */
-    outb(0x18, 0x41);
-
-    outb(0x36, 0x43);	/* counter 0: system timer */
-    outb(0x00, 0x40);
-    outb(0x00, 0x40);
-
-    outb(0xb6, 0x43);	/* counter 2: speaker */
-    outb(0x31, 0x42);
-    outb(0x13, 0x42);
-}
-
 static unsigned long find_end_memory(void)
 {
 	int i;
@@ -109,8 +92,6 @@
 	unsigned long * memory_start_p, unsigned long * memory_end_p)
 {
 	extern int _end;
-
-	init_pit();
 
 	hwrpb = (struct hwrpb_struct*)(IDENT_ADDR + INIT_HWRPB->phys_addr);
 

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov with Sam's (original) version
of this