Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Removed use of data port for z8530. | Joel Sherrill | 1998-07-18 | 2 | -90/+54 |
| | | | | Move some code around. | ||||
* | Corrected header files. | Joel Sherrill | 1998-07-16 | 1 | -1/+2 |
| | |||||
* | Minor corrections for typos to get it to compile. | Joel Sherrill | 1998-07-16 | 1 | -2/+2 |
| | |||||
* | Split default baud rate table into its own file. This shrinks the | Joel Sherrill | 1998-07-16 | 5 | -108/+124 |
| | | | | | | size of the minimum mc68681 driver. The clock speed field can not now be configured as NULL but must instead specify the address of the default table. | ||||
* | Fixed typos. | Joel Sherrill | 1998-07-15 | 4 | -4/+7 |
| | |||||
* | Added default z85c30 register access routines. | Joel Sherrill | 1998-07-15 | 3 | -1/+129 |
| | |||||
* | Added default mc68681 register access routines. | Joel Sherrill | 1998-07-15 | 5 | -12/+142 |
| | |||||
* | Added check for proper deviceType to interrupt processing code. | Joel Sherrill | 1998-07-15 | 2 | -2/+4 |
| | |||||
* | Added interrupt mask and interrupt status register bit constants. | Joel Sherrill | 1998-07-15 | 1 | -1/+24 |
| | | | | | Added prototype for mc68681_build_imr(), mc68681_process(), and mc68681_enable_interrupts(). | ||||
* | Added default mc68681 register access routines. | Joel Sherrill | 1998-07-15 | 1 | -0/+49 |
| | |||||
* | Switched from driver's own buffering to using termios. This eliminated | Joel Sherrill | 1998-07-15 | 1 | -121/+93 |
| | | | | | | | | | | | | | | | | | | the need for the ringbuffer manipulation in this driver. It should also allow the removal of mc68681_flush. This greatly simplified the interrupt processing. Reworked Interrupt Mask Register handling. Added imr field to the device context. This handling makes sure that the IMR accurately reflects the state of the port in use and its mate. This required the reworking of the mc68681_enable_interrupts() routine to allow for the specification of which interrupt sources were being enabled/disabled. Reworked initialization to reset using port address rather than chip base address. Basically we were always resetting port 0. Added deviceType field which allows for multiple chips of the same class to have the same vector number. | ||||
* | Added information on the deviceType field. | Joel Sherrill | 1998-07-15 | 2 | -0/+8 |
| | |||||
* | Added default mc68681 register access routines. | Joel Sherrill | 1998-07-15 | 1 | -1/+2 |
| | |||||
* | Added comment to remove use of TxBuffer ring buffer in all libchip drivers. | Joel Sherrill | 1998-07-15 | 1 | -1/+14 |
| | | | | The scheme used in the mc68681 is the one to follow. | ||||
* | Switched deviceOutputUsesInterrupts to TRUE so output would be interrupt | Joel Sherrill | 1998-07-15 | 1 | -148/+147 |
| | | | | | | | | | | | | | | | driven. Redid "mate determination" code to check that the chip base address was the same but the port address was different. Moved mc68681_process and mc68681_build_imr to the bottom of the file so they would not be inlined. Removed the code which forced mc68681_build_imr to always return 0 which resulted in interrupts never being enabled from the chip. Corrected spacing in prototype of mc68681_write_support_int. | ||||
* | Switched to "deviceOutput = TRUE" which made device output use interrupts. | Joel Sherrill | 1998-07-15 | 1 | -1/+1 |
| | |||||
* | Added set attributes routine but did not hook it in to the table. | Joel Sherrill | 1998-07-09 | 2 | -13/+110 |
| | | | | Switched to shared default probe. | ||||
* | Added new files. | Joel Sherrill | 1998-07-09 | 1 | -1/+3 |
| | |||||
* | Renamed so we could have one file per routine. | Joel Sherrill | 1998-07-09 | 1 | -37/+0 |
| | |||||
* | Switched to shared default probe routine. | Joel Sherrill | 1998-07-09 | 1 | -14/+3 |
| | |||||
* | Switched to default probe routine. | Joel Sherrill | 1998-07-09 | 1 | -17/+2 |
| | |||||
* | Added new baud rate to number function and default serial probe routine. | Joel Sherrill | 1998-07-09 | 4 | -0/+107 |
| | | | | | Renamed sersupp.c so we could have one routine per file to decrease the baggage pulled into an application by default. | ||||
* | Added proper handling of extended baud rate table selection at boot time. | Joel Sherrill | 1998-07-09 | 1 | -1/+6 |
| | | | | Still need to address default terminal settings. | ||||
* | Properly handle extended baud rate set commands. | Joel Sherrill | 1998-07-09 | 1 | -15/+22 |
| | | | | | | | | | | | | | Temporarily "if 0" of code which enables interrupts. Moved setting of command registers at open but the current implementation is questionable. Added reset of RX errors while polling TX. Read polled character as unsigned. Baud rate mask must be in upper and lower nibble. | ||||
* | Corrected definition of MC68681_RX_BUFFER. | Joel Sherrill | 1998-07-09 | 1 | -1/+1 |
| | |||||
* | Changed static to MC68681_STATIC to make all data and routines | Joel Sherrill | 1998-07-09 | 1 | -105/+192 |
| | | | | | | | | | globally visiable to ease debugging. Added support for mc68681 "2 column" style baud rate table as well as the Exar 88681 "4 column" style baud rate table. Added support for user override of the default baud rate table. | ||||
* | Removed commented out line. | Joel Sherrill | 1998-07-09 | 1 | -1/+0 |
| | |||||
* | Added sersupp.c. | Joel Sherrill | 1998-07-09 | 1 | -1/+1 |
| | |||||
* | New files to contain generally needed serial driver support routines. | Joel Sherrill | 1998-07-09 | 2 | -0/+50 |
| | |||||
* | Changed static to MC68681_STATIC to make all routines and data global | Joel Sherrill | 1998-07-09 | 1 | -11/+20 |
| | | | | to ease debugging. | ||||
* | Added support for the Extended Baud Rate set control found in the | Joel Sherrill | 1998-07-09 | 1 | -2/+20 |
| | | | | | | | Exar 88681 but not in the base 68681. Added support for user provided baud rate tables. This is needed when the board does not use the standard baud rate clock. | ||||
* | Changed static to NS16550_STATIC to make all routines and data global | Joel Sherrill | 1998-07-09 | 2 | -31/+40 |
| | | | | to ease debugging. | ||||
* | Changed static to Z85C30_STATIC so all data and routines could be global | Joel Sherrill | 1998-07-09 | 2 | -32/+41 |
| | | | | for debugging purposes. | ||||
* | Added information to README.mc68681. | Joel Sherrill | 1998-07-09 | 3 | -3/+136 |
| | | | | Created the basic README and the README.z85c30. | ||||
* | Added include of termios.h. | Joel Sherrill | 1998-07-05 | 1 | -0/+59 |
| | | | | | Also added a block of comments above the console_tbl structure to explain each entry. | ||||
* | Removed RTS and DTR handling code since the MC68681 seems to only have | Joel Sherrill | 1998-06-23 | 3 | -249/+91 |
| | | | | | | | | | | automatic handling of RTS/CTS. This only protects the on-chip buffers and FIFOs -- not the termios queues as the RTS/CTS code in here did. It may be necessary in the future to enable this automatic support. Interrupt processing code added. In some places, channel and duart base addresses were swapped. | ||||
* | New file describing mc68681 libchip driver. | Joel Sherrill | 1998-06-23 | 1 | -0/+39 |
| | |||||
* | Added numerous comments. | Joel Sherrill | 1998-06-23 | 1 | -15/+72 |
| | |||||
* | Added concept of "mate" -- the other port on the same DUART. This is | Joel Sherrill | 1998-06-23 | 3 | -46/+80 |
| | | | | | needed to properly handle the interrupt mask register since it is shared. | ||||
* | Added close. | Joel Sherrill | 1998-06-23 | 1 | -4/+28 |
| | |||||
* | Added set attributes and written initialize and first open. | Joel Sherrill | 1998-06-23 | 1 | -78/+236 |
| | |||||
* | Added more registers. | Joel Sherrill | 1998-06-23 | 1 | -0/+11 |
| | |||||
* | Added set attributes prototype. | Joel Sherrill | 1998-06-23 | 1 | -0/+5 |
| | |||||
* | Added NULL entry for setAttributes. | Joel Sherrill | 1998-06-23 | 3 | -2/+7 |
| | |||||
* | Added initial part of iniitialization. | Joel Sherrill | 1998-06-22 | 2 | -8/+36 |
| | |||||
* | Added mc68681 stuff to the makefile. | Joel Sherrill | 1998-06-22 | 4 | -90/+344 |
| | | | | | | | | | Added numerous constants to mc68681_p.h. Changed spacing. At this point the polled support is in but nothing else is right except the structure. | ||||
* | Moved get and set register/data typedefs to this file. | Joel Sherrill | 1998-06-22 | 1 | -4/+14 |
| | |||||
* | Moved set and get Register and Data type defininitions to serial.h. | Joel Sherrill | 1998-06-22 | 4 | -20/+5 |
| | | | | Cleaned up spacing. | ||||
* | Corrected spacing | Joel Sherrill | 1998-06-22 | 1 | -26/+25 |
| | |||||
* | spacing changes | Joel Sherrill | 1998-06-22 | 3 | -31/+36 |
| |