summaryrefslogtreecommitdiffstats
path: root/c/src/libchip/serial/mc68681.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* 2004-03-23 Ralf Corsepius <ralf_corsepius@rtems.org>Ralf Corsepius2004-03-231-17/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | * libchip/ide/ata.c, libchip/ide/ata_internal.h, libchip/ide/ide_controller.c, libchip/ide/ide_ctrl_cfg.h, libchip/ide/ide_ctrl_io.h, libchip/network/cs8900.c, libchip/network/dec21140.c, libchip/network/elnk.c, libchip/network/if_fxp.c, libchip/network/open_eth.c, libchip/network/open_eth.h, libchip/network/sonic.c, libchip/network/sonic.h, libchip/rtc/icm7170.c, libchip/rtc/icm7170.h, libchip/rtc/icm7170_reg.c, libchip/rtc/icm7170_reg2.c, libchip/rtc/icm7170_reg4.c, libchip/rtc/icm7170_reg8.c, libchip/rtc/m48t08.c, libchip/rtc/m48t08.h, libchip/rtc/m48t08_reg.c, libchip/rtc/m48t08_reg2.c, libchip/rtc/m48t08_reg4.c, libchip/rtc/m48t08_reg8.c, libchip/rtc/rtc.h, libchip/serial/mc68681.c, libchip/serial/mc68681.h, libchip/serial/mc68681_reg.c, libchip/serial/mc68681_reg2.c, libchip/serial/mc68681_reg4.c, libchip/serial/mc68681_reg8.c, libchip/serial/ns16550.c, libchip/serial/ns16550_p.h, libchip/serial/serial.h, libchip/serial/z85c30.c, libchip/serial/z85c30.h, libchip/serial/z85c30_p.h, libchip/serial/z85c30_reg.c, libchip/shmdr/addlq.c, libchip/shmdr/cnvpkt.c, libchip/shmdr/dump.c, libchip/shmdr/fatal.c, libchip/shmdr/getlq.c, libchip/shmdr/init.c, libchip/shmdr/initlq.c, libchip/shmdr/intr.c, libchip/shmdr/poll.c, libchip/shmdr/send.c, libchip/shmdr/shm_driver.h: Convert to using c99 fixed-size types.
* 2003-09-26 Cedric Aubert <cedric_aubert@yahoo.fr>Joel Sherrill2003-09-261-19/+44
| | | | | | | | | | | PR 499/rtems_misc * serial/mc68681.c: Miscellaneous corrections: - Correction of ACR_BIT[7] (Baudrate table) Configuration - Correction of Parity Bit Configuration (Odd was forced) - Correction of Stop Bit configuration (inversed) - Correction of ISR Handler to call rtems_termios_dequeue_character() only if is a Tx Empty IRQ. - Add RTS CTS Hardware flow control Configuration
* 2003-09-04 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2003-09-041-1/+1
| | | | | | | | | | | | | | | | * ide/ata.c, ide/ata.h, ide/ata_internal.h, ide/ide_controller.c, ide/ide_ctrl.h, ide/ide_ctrl_cfg.h, ide/ide_ctrl_io.h, network/cs8900.c, network/cs8900.c.bsp, network/cs8900.h, network/dec21140.c, network/elnk.c, network/open_eth.c, network/sonic.c, network/sonic.h, rtc/icm7170.c, rtc/icm7170.h, rtc/icm7170_reg.c, rtc/icm7170_reg2.c, rtc/icm7170_reg4.c, rtc/icm7170_reg8.c, rtc/m48t08.c, rtc/m48t08.h, rtc/m48t08_reg.c, rtc/m48t08_reg2.c, rtc/m48t08_reg4.c, rtc/m48t08_reg8.c, rtc/rtc.h, rtc/rtcprobe.c, serial/mc68681.c, serial/mc68681.h, serial/mc68681_p.h, serial/mc68681_reg.c, serial/mc68681_reg2.c, serial/mc68681_reg4.c, serial/mc68681_reg8.c, serial/serial.h, serial/z85c30.c, serial/z85c30.h, serial/z85c30_p.h, serial/z85c30_reg.c: URL for license changed.
* 2001-03-14 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2001-03-141-1/+1
| | | | | | | * serial/Makefile.am, serial/mc68681.c, serial/ns16550.c, serial/serprobe.c, serial/z85c30.c: Now install sersupp.h to <libchip/sersupp.h> so libchip style serial drivers can be written in libcpu or libbsp.
* Updated copyright notice.Joel Sherrill1999-11-171-2/+1
|
* Merged Vista SCORE603e, Radstone PPCn_60x, and DY-4 DMV177 BSPs alongJoel Sherrill1998-10-281-2/+2
| | | | with libchip.
* Updates to tree to make it build with all desired changes and the conversionJoel Sherrill1998-09-111-2/+2
| | | | of the SONIC driver to the new FreeBSD stack instead of KA9Q.
* Don't disable the RX/TX on close in polled mode.Joel Sherrill1998-08-131-2/+3
| | | | Fixed a comment.
* Commented out the code which yields the CPU when the serial controller isJoel Sherrill1998-08-051-0/+2
| | | | | busy. This type of behavior perturbs the tests and many of them will not pass.
* Corrected spacing.Joel Sherrill1998-07-281-1/+0
|
* Added comments and corrected spacing.Joel Sherrill1998-07-251-0/+4
|
* Changed variable to hold received data to unsigned.Joel Sherrill1998-07-251-1/+1
|
* Removed mc68681_flush and corrected spacing.Joel Sherrill1998-07-251-31/+5
|
* Changed to utilize return status from rtems_termios_dequeue_characters()Joel Sherrill1998-07-251-4/+9
| | | | and to correctly set the TX active indicator.
* 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-161-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.
* 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.
* 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 default probe routine.Joel Sherrill1998-07-091-17/+2
|
* 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.
* 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 RTS and DTR handling code since the MC68681 seems to only haveJoel Sherrill1998-06-231-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.
* Added numerous comments.Joel Sherrill1998-06-231-15/+72
|
* Added concept of "mate" -- the other port on the same DUART. This isJoel Sherrill1998-06-231-41/+77
| | | | | 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 initial part of iniitialization.Joel Sherrill1998-06-221-6/+28
|
* Added mc68681 stuff to the makefile.Joel Sherrill1998-06-221-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.
* spacing changesJoel Sherrill1998-06-221-0/+3
|
* Initial version of these files.Joel Sherrill1998-06-221-0/+609