patch-2.4.0-test3 linux/drivers/sbus/char/zs.c
Next file: linux/drivers/scsi/BusLogic.c
Previous file: linux/drivers/sbus/char/vfc_dev.c
Back to the patch index
Back to the overall index
- Lines: 60
- Date:
Wed Jul 5 22:15:25 2000
- Orig file:
v2.4.0-test2/linux/drivers/sbus/char/zs.c
- Orig date:
Wed Apr 26 16:34:08 2000
diff -u --recursive --new-file v2.4.0-test2/linux/drivers/sbus/char/zs.c linux/drivers/sbus/char/zs.c
@@ -1,4 +1,4 @@
-/* $Id: zs.c,v 1.57 2000/04/26 09:36:32 davem Exp $
+/* $Id: zs.c,v 1.58 2000/07/06 01:41:38 davem Exp $
* zs.c: Zilog serial port driver for the Sparc.
*
* Copyright (C) 1995 David S. Miller (davem@caip.rutgers.edu)
@@ -824,20 +824,6 @@
tty_hangup(tty);
}
-
-/*
- * This subroutine is called when the RS_TIMER goes off. It is used
- * by the serial driver to handle ports that do not have an interrupt
- * (irq=0). This doesn't work at all for 16450's, as a sun has a Z8530.
- */
-
-static void zs_timer(void)
-{
- printk("zs_timer called\n");
- prom_halt();
- return;
-}
-
static int startup(struct sun_serial * info)
{
unsigned long flags;
@@ -913,14 +899,6 @@
info->xmit_cnt = info->xmit_head = info->xmit_tail = 0;
/*
- * Set up serial timers...
- */
-#if 0 /* Works well and stops the machine. */
- timer_table[RS_TIMER].expires = jiffies + 2;
- timer_active |= 1 << RS_TIMER;
-#endif
-
- /*
* and set the speed of the serial port
*/
change_speed(info);
@@ -1928,7 +1906,7 @@
static void show_serial_version(void)
{
- char *revision = "$Revision: 1.57 $";
+ char *revision = "$Revision: 1.58 $";
char *version, *p;
version = strchr(revision, ' ');
@@ -2404,8 +2382,6 @@
/* Setup base handler, and timer table. */
init_bh(SERIAL_BH, do_serial_bh);
- timer_table[RS_TIMER].fn = zs_timer;
- timer_table[RS_TIMER].expires = 0;
show_serial_version();
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)