summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libchip (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Removed use of data port for z8530.Joel Sherrill1998-07-182-90/+54
| | | | Move some code around.
* Corrected header files.Joel Sherrill1998-07-161-1/+2
|
* Minor corrections for typos to get it to compile.Joel Sherrill1998-07-161-2/+2
|
* Split default baud rate table into its own file. This shrinks theJoel Sherrill1998-07-165-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 Sherrill1998-07-154-4/+7
|
* Added default z85c30 register access routines.Joel Sherrill1998-07-153-1/+129
|
* Added default mc68681 register access routines.Joel Sherrill1998-07-155-12/+142
|
* Added check for proper deviceType to interrupt processing code.Joel Sherrill1998-07-152-2/+4
|
* Added interrupt mask and interrupt status register bit constants.Joel Sherrill1998-07-151-1/+24
| | | | | Added prototype for mc68681_build_imr(), mc68681_process(), and mc68681_enable_interrupts().
* Added default mc68681 register access routines.Joel Sherrill1998-07-151-0/+49
|
* Switched from driver's own buffering to using termios. This eliminatedJoel Sherrill1998-07-151-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 Sherrill1998-07-152-0/+8
|
* Added default mc68681 register access routines.Joel Sherrill1998-07-151-1/+2
|
* Added comment to remove use of TxBuffer ring buffer in all libchip drivers.Joel Sherrill1998-07-151-1/+14
| | | | The scheme used in the mc68681 is the one to follow.
* Switched deviceOutputUsesInterrupts to TRUE so output would be interruptJoel Sherrill1998-07-151-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 Sherrill1998-07-151-1/+1
|
* Added set attributes routine but did not hook it in to the table.Joel Sherrill1998-07-092-13/+110
| | | | Switched to shared default probe.
* Added new files.Joel Sherrill1998-07-091-1/+3
|
* Renamed so we could have one file per routine.Joel Sherrill1998-07-091-37/+0
|
* Switched to shared default probe routine.Joel Sherrill1998-07-091-14/+3
|
* Switched to default probe routine.Joel Sherrill1998-07-091-17/+2
|
* Added new baud rate to number function and default serial probe routine.Joel Sherrill1998-07-094-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 Sherrill1998-07-091-1/+6
| | | | Still need to address default terminal settings.
* Properly handle extended baud rate set commands.Joel Sherrill1998-07-091-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 Sherrill1998-07-091-1/+1
|
* Changed static to MC68681_STATIC to make all data and routinesJoel Sherrill1998-07-091-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 Sherrill1998-07-091-1/+0
|
* Added sersupp.c.Joel Sherrill1998-07-091-1/+1
|
* New files to contain generally needed serial driver support routines.Joel Sherrill1998-07-092-0/+50
|
* Changed static to MC68681_STATIC to make all routines and data globalJoel Sherrill1998-07-091-11/+20
| | | | to ease debugging.
* Added support for the Extended Baud Rate set control found in theJoel Sherrill1998-07-091-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 globalJoel Sherrill1998-07-092-31/+40
| | | | to ease debugging.
* Changed static to Z85C30_STATIC so all data and routines could be globalJoel Sherrill1998-07-092-32/+41
| | | | for debugging purposes.
* Added information to README.mc68681.Joel Sherrill1998-07-093-3/+136
| | | | Created the basic README and the README.z85c30.
* Added include of termios.h.Joel Sherrill1998-07-051-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 haveJoel Sherrill1998-06-233-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 Sherrill1998-06-231-0/+39
|
* Added numerous comments.Joel Sherrill1998-06-231-15/+72
|
* Added concept of "mate" -- the other port on the same DUART. This isJoel Sherrill1998-06-233-46/+80
| | | | | needed to properly handle the interrupt mask register since it is shared.
* Added close.Joel Sherrill1998-06-231-4/+28
|
* Added set attributes and written initialize and first open.Joel Sherrill1998-06-231-78/+236
|
* Added more registers.Joel Sherrill1998-06-231-0/+11
|
* Added set attributes prototype.Joel Sherrill1998-06-231-0/+5
|
* Added NULL entry for setAttributes.Joel Sherrill1998-06-233-2/+7
|
* Added initial part of iniitialization.Joel Sherrill1998-06-222-8/+36
|
* Added mc68681 stuff to the makefile.Joel Sherrill1998-06-224-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 Sherrill1998-06-221-4/+14
|
* Moved set and get Register and Data type defininitions to serial.h.Joel Sherrill1998-06-224-20/+5
| | | | Cleaned up spacing.
* Corrected spacingJoel Sherrill1998-06-221-26/+25
|
* spacing changesJoel Sherrill1998-06-223-31/+36
|