summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libchip/serial/mc68681.c (unfollow)
Commit message (Collapse)AuthorFilesLines
1999-10-26cat /tmp/j | while read fJoel Sherrill1-756/+0
do rpm -qi $f 2>&1 | grep -v "is not ins" done
1998-10-28Merged Vista SCORE603e, Radstone PPCn_60x, and DY-4 DMV177 BSPs alongJoel Sherrill1-2/+2
with libchip.
1998-09-11Updates to tree to make it build with all desired changes and the conversionJoel Sherrill1-2/+2
of the SONIC driver to the new FreeBSD stack instead of KA9Q.
1998-08-13Don't disable the RX/TX on close in polled mode.Joel Sherrill1-2/+3
Fixed a comment.
1998-08-05Commented out the code which yields the CPU when the serial controller isJoel Sherrill1-0/+2
busy. This type of behavior perturbs the tests and many of them will not pass.
1998-07-28Corrected spacing.Joel Sherrill1-1/+0
1998-07-25Added comments and corrected spacing.Joel Sherrill1-0/+4
1998-07-25Changed variable to hold received data to unsigned.Joel Sherrill1-1/+1
1998-07-25Removed mc68681_flush and corrected spacing.Joel Sherrill1-31/+5
1998-07-25Changed to utilize return status from rtems_termios_dequeue_characters()Joel Sherrill1-4/+9
and to correctly set the TX active indicator.
1998-07-16Minor corrections for typos to get it to compile.Joel Sherrill1-2/+2
1998-07-16Split default baud rate table into its own file. This shrinks theJoel Sherrill1-103/+6
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.
1998-07-15Switched from driver's own buffering to using termios. This eliminatedJoel Sherrill1-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.
1998-07-15Switched deviceOutputUsesInterrupts to TRUE so output would be interruptJoel Sherrill1-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.
1998-07-09Switched to default probe routine.Joel Sherrill1-17/+2
1998-07-09Added proper handling of extended baud rate table selection at boot time.Joel Sherrill1-1/+6
Still need to address default terminal settings.
1998-07-09Properly handle extended baud rate set commands.Joel Sherrill1-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.
1998-07-09Changed static to MC68681_STATIC to make all data and routinesJoel Sherrill1-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.
1998-06-23Removed RTS and DTR handling code since the MC68681 seems to only haveJoel Sherrill1-225/+87
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.
1998-06-23Added numerous comments.Joel Sherrill1-15/+72
1998-06-23Added concept of "mate" -- the other port on the same DUART. This isJoel Sherrill1-41/+77
needed to properly handle the interrupt mask register since it is shared.
1998-06-23Added close.Joel Sherrill1-4/+28
1998-06-23Added set attributes and written initialize and first open.Joel Sherrill1-78/+236
1998-06-22Added initial part of iniitialization.Joel Sherrill1-6/+28
1998-06-22Added mc68681 stuff to the makefile.Joel Sherrill1-68/+110
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.
1998-06-22spacing changesJoel Sherrill1-0/+3
1998-06-22Initial version of these files.Joel Sherrill1-141/+141
1998-06-13Initial incarnation of libchip compiles.Joel Sherrill1-1/+2
1998-06-13Base code from ppcn_60x BSPJoel Sherrill1-0/+608