patch-2.4.0-test7 linux/drivers/char/sx.c
Next file: linux/drivers/char/tda7432.c
Previous file: linux/drivers/char/stradis.c
Back to the patch index
Back to the overall index
- Lines: 41
- Date:
Fri Aug 11 14:51:33 2000
- Orig file:
v2.4.0-test6/linux/drivers/char/sx.c
- Orig date:
Fri Jun 23 21:55:08 2000
diff -u --recursive --new-file v2.4.0-test6/linux/drivers/char/sx.c linux/drivers/char/sx.c
@@ -1518,9 +1518,14 @@
exit minicom. I expect an "oops". -- REW */
static void sx_hungup (void *ptr)
{
+ /*
struct sx_port *port = ptr;
+ */
func_enter ();
+ /* Don't force the SX card to close. mgetty doesn't like it !!!!!! -- pvdl */
+ /* For some reson we added this code. Don't know why anymore ;-( -- pvdl */
+ /*
sx_setsignals (port, 0, 0);
sx_reconfigure_port(port);
sx_send_command (port, HS_CLOSE, 0, 0);
@@ -1532,7 +1537,7 @@
} else
sx_dprintk (SX_DEBUG_CLOSE, "sent the force_close command.\n");
}
-
+ */
MOD_DEC_USE_COUNT;
func_exit ();
}
@@ -2368,7 +2373,7 @@
return 0;
}
-
+#ifdef MODULE
static void sx_release_drivers(void)
{
func_enter();
@@ -2376,6 +2381,7 @@
tty_unregister_driver(&sx_callout_driver);
func_exit();
}
+#endif
#ifdef TWO_ZERO
#define PDEV unsigned char pci_bus, unsigned pci_fun
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)