patch-2.1.123 linux/drivers/char/esp.c
Next file: linux/drivers/char/mem.c
Previous file: linux/drivers/char/consolemap.c
Back to the patch index
Back to the overall index
- Lines: 38
- Date:
Fri Sep 25 17:14:58 1998
- Orig file:
v2.1.122/linux/drivers/char/esp.c
- Orig date:
Tue Jul 28 14:21:08 1998
diff -u --recursive --new-file v2.1.122/linux/drivers/char/esp.c linux/drivers/char/esp.c
@@ -102,7 +102,7 @@
#define WAKEUP_CHARS 1024
static char *serial_name = "ESP serial driver";
-static char *serial_version = "2.1";
+static char *serial_version = "2.2";
static DECLARE_TASK_QUEUE(tq_esp);
@@ -2615,6 +2615,9 @@
}
memset((void *)info, 0, sizeof(struct esp_struct));
+ /* rx_trigger, tx_trigger are needed by autoconfig */
+ info->config.rx_trigger = rx_trigger;
+ info->config.tx_trigger = tx_trigger;
i = 0;
offset = 0;
@@ -2644,8 +2647,6 @@
info->callout_termios = esp_callout_driver.init_termios;
info->normal_termios = esp_driver.init_termios;
info->config.rx_timeout = rx_timeout;
- info->config.rx_trigger = rx_trigger;
- info->config.tx_trigger = tx_trigger;
info->config.flow_on = flow_on;
info->config.flow_off = flow_off;
info->config.pio_threshold = pio_threshold;
@@ -2681,6 +2682,9 @@
}
memset((void *)info, 0, sizeof(struct esp_struct));
+ /* rx_trigger, tx_trigger are needed by autoconfig */
+ info->config.rx_trigger = rx_trigger;
+ info->config.tx_trigger = tx_trigger;
if (offset == 56) {
i++;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov