Commit 9eb3a8d0 authored by Marcelo Tosatti's avatar Marcelo Tosatti Committed by Linus Torvalds

[PATCH] cyclades async driver update

This patch is the first of several planned fixes for the cyclades
multiserial cards driver.

Its mostly a sync with in-house driver:

- Prevent users from opening non-existing Z ports
- Implement special XON/XOFF character handling in Z cards
- Prevent data-loss on Z cards
- Throttling fix for Z card
- Only throttle if CTS/RTS are set
- Fix accounting of received data

Kudos to Cyclades R&D
parent b9fe1f45
This diff is collapsed.
...@@ -7,6 +7,10 @@ ...@@ -7,6 +7,10 @@
* *
* This file contains the general definitions for the cyclades.c driver * This file contains the general definitions for the cyclades.c driver
*$Log: cyclades.h,v $ *$Log: cyclades.h,v $
*Revision 3.1 2002/01/29 11:36:16 henrique
*added throttle field on struct cyclades_port to indicate whether the
*port is throttled or not
*
*Revision 3.1 2000/04/19 18:52:52 ivan *Revision 3.1 2000/04/19 18:52:52 ivan
*converted address fields to unsigned long and added fields for physical *converted address fields to unsigned long and added fields for physical
*addresses on cyclades_card structure; *addresses on cyclades_card structure;
...@@ -141,7 +145,7 @@ struct CYZ_BOOT_CTRL { ...@@ -141,7 +145,7 @@ struct CYZ_BOOT_CTRL {
/****************** ****************** *******************/ /****************** ****************** *******************/
/* /*
* The data types defined below are used in all ZFIRM interface * The data types defined below are used in all ZFIRM interface
* data structures. They accommodate differences between HW * data structures. They accomodate differences between HW
* architectures and compilers. * architectures and compilers.
*/ */
...@@ -604,6 +608,7 @@ struct cyclades_port { ...@@ -604,6 +608,7 @@ struct cyclades_port {
wait_queue_head_t close_wait; wait_queue_head_t close_wait;
wait_queue_head_t shutdown_wait; wait_queue_head_t shutdown_wait;
wait_queue_head_t delta_msr_wait; wait_queue_head_t delta_msr_wait;
int throttle;
}; };
/* /*
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment