| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
This patch is a part of the BSP source reorganization.
Update #3285.
|
|
|
|
|
|
|
|
|
|
|
| |
Adding modified FreeBSD headers to synchronize RTEMS termios with
FreeBSD. Modify termios to support dedicated input and output baud for
termios structure. Updated BSPs to use dedicated input and output baud
in termios structure. Updated tools to use dedicated input and output
baud in termios structure. Updated termios testsuites to use dedicated
input and output baud in termios structure.
Close #2897.
|
|
|
|
| |
This was spotted by Coverity Scan.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
Script does what is expected and tries to do it as
smartly as possible.
+ remove occurrences of two blank comment lines
next to each other after Id string line removed.
+ remove entire comment blocks which only exited to
contain CVS Ids
+ If the processing left a blank line at the top of
a file, it was removed.
|
| |
|
|
|
|
|
| |
* libchip/serial/mc68681.c (mc68681_open):
Var "status" needs to be signed.
|
|
|
|
|
| |
PR 1944/misc
* libchip/serial/mc68681.c: Remove #if 0.
|
|
|
|
|
|
|
| |
PR 1917/bsps
* libchip/serial/mc68681.c, libchip/serial/ns16550.c,
libchip/serial/serial.h, libchip/serial/z85c30.c: Modifications to
add dynamic tables for libchip serial drivers.
|
|
|
|
| |
* libchip/serial/mc68681.c: Eliminate unused var "success".
|
|
|
|
|
|
|
| |
* libchip/serial/mc68681.c, libchip/serial/mc68681_reg.c,
libchip/serial/ns16550.c, libchip/serial/serial.h,
libchip/serial/z85c30.c, libchip/serial/z85c30_reg.c: Use uintptr_t
or intptr_t instead of uint32_t or int32_t.
|
| |
|
|
|
|
|
|
| |
* libchip/serial/z85c30.c, libchip/serial/ns16550.c,
libchip/serial/mc68681.c: Reflect termios_baud_to_number having been
renamed to rtems_termios_baud_to_number.
|
| |
|
|
|
|
|
| |
* libchip/network/open_eth.c, libchip/serial/mc68681.c,
libchip/serial/ns16550.c, libchip/serial/z85c30.c: Removed warning
|
|
|
|
|
|
| |
* libchip/network/dec21140.c, libchip/network/elnk.c,
libchip/network/if_fxp.c, libchip/serial/mc68681.c:
Modified parameter list to remove warnings.
|
|
|
|
|
|
|
| |
* libchip/network/cs8900.c, libchip/network/i82586.c,
libchip/network/open_eth.c, libchip/network/sonic.c,
libchip/serial/mc68681.c: Modified types to remove
warnings. Added initialization to remove warnings.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
|
| |
* 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.
|
| |
|
|
|
|
| |
with libchip.
|
|
|
|
| |
of the SONIC driver to the new FreeBSD stack instead of KA9Q.
|
|
|
|
| |
Fixed a comment.
|
|
|
|
|
| |
busy. This type of behavior perturbs the tests and many of them will
not pass.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
and to correctly set the TX active indicator.
|
| |
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
| |
Still need to address default terminal settings.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
| |
needed to properly handle the interrupt mask register since it is
shared.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
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.
|