summaryrefslogtreecommitdiffstats
path: root/c/src/libchip/serial/ns16550.c (unfollow)
Commit message (Collapse)AuthorFilesLines
2018-04-04bsps: Move libchip to bspsSebastian Huber1-875/+0
This patch is a part of the BSP source reorganization. Update #3285.
2018-01-04libchip: Use public include pathChris Johns1-2/+2
Update #3254.
2017-09-28bsps: Fix integer to/from pointer warningsSebastian Huber1-3/+3
Update #3082.
2017-04-03bsps: Fix baud settingsSebastian Huber1-1/+1
Update #2897.
2016-05-11ibchip/ns16550: Minor optimisation.Chris Johns1-13/+14
2015-03-05libchip/serial: Fix warningSebastian Huber1-2/+1
2014-11-26libchip/serial/ns16550* and z8530*: Assert on baud number to avoid divide by 0Josh Oguin1-0/+3
This was flagged by CodeSonar. It should be impossible to get an incorrect baud number back but ensure this in debug mode. The _Assert() keeps their scanner from evaluating for divide by 0 past this point.
2014-10-10arm/nds: Warning clean upJoel Sherrill1-1/+3
This patch eliminates most of the warnings in this BSP but attempts very little clean up. This BSP includes copies of a lot of code from free NDS libraries and modifications should be kept to a minimum.
2014-10-07libchip/serial: Add alternative NS16550 driverSebastian Huber1-12/+88
Use the Termios device API.
2014-04-16libchip: SMP support for NS16550Sebastian Huber1-19/+22
2014-03-21Change all references of rtems.com to rtems.org.Chris Johns1-1/+1
2013-07-09libchip ns16550.c: Improve commentJoel Sherrill1-1/+4
2013-06-21libchip/serial: Fix warningSebastian Huber1-1/+0
2013-06-12libchip: Use Termios API change for NS16550Sebastian Huber1-13/+9
This avoids a race condition on SMP configurations.
2013-06-12libchip: Delete superfluous assignmentsSebastian Huber1-4/+0
2013-02-11libchip/serial: Make NS16550 handler publicSebastian Huber1-9/+9
This allows derived drivers to use these functions.
2013-02-11libchip/serial: Add const qualifierSebastian Huber1-4/+4
2013-02-11libchip/serial: Fix warningsSebastian Huber1-2/+1
2012-06-15libchip: Add support for NS16550 with FDRSebastian Huber1-15/+41
2012-05-11Remove All CVS Id Strings Possible Using a ScriptJoel Sherrill1-2/+0
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.
2012-02-23Avoid NULL dereference in printk() before libchip console initializedJennifer Averett1-45/+71
With the addition of dynamically registered libchip serial devices, there is the need to be able to use printk() before the console driver has initialized the indirect pointer table. This lets printk() support routines call pass a control structure directly without a lookup through the uninitialized indirect one.
2011-11-092011-11-09 Jennifer Averett <jennifer.averett@oarcorp.com>Joel Sherrill1-1/+1
PR 1934/bsps * libchip/serial/ns16550.c: Change to unsigned variable.
2011-10-262011-10-26 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius1-3/+2
* libchip/serial/ns16550.c (ns16550_init): Remove unused var "ucTrash".
2011-10-202011-10-20 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius1-4/+4
PR 1940/misc: * libchip/serial/ns16550.c: Reflect changes to console-driver.
2011-10-182011-10-18 Jennifer Averett <Jennifer.Averett@OARcorp.com>Jennifer Averett1-25/+25
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.
2011-07-112011-07-11 Sebastian Huber <sebastian.huber@embedded-brains.de>Sebastian Huber1-1/+39
* libchip/serial/ns16550_p.h, libchip/serial/ns16550.c: Remove interrupt handler during last close.
2011-02-162011-02-16 Sebastian Huber <sebastian.huber@embedded-brains.de>Sebastian Huber1-27/+10
* libchip/serial/ns16550.c: Revert previous commit and extend existing mechanic.
2011-02-152011-02-15 Jennifer AverettJoel Sherrill1-7/+24
* libchip/serial/ns16550.c, libchip/serial/ns16550_p.h: Support i386 style IRQs.
2011-01-172011-01-17 Sebastian Huber <sebastian.huber@embedded-brains.de>Sebastian Huber1-4/+3
* libchip/serial/ns16550.c: Install interrupt handler after TTY pointer is valid.
2010-04-262010-04-25 Joel Sherrill <joel.sherrilL@OARcorp.com>Joel Sherrill1-5/+5
* 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.
2010-04-09adapt _write_ functions to new prototypeThomas Doerfler1-4/+4
2009-11-30Whitespace removal.Ralf Corsepius1-1/+1
2009-10-21interrupt handler type changeThomas Doerfler1-8/+1
2009-10-13Enable interrupts during open to avoid NULL pointer access in interrupt handler.Thomas Doerfler1-2/+9
2009-09-302009-09-30 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius1-3/+2
* 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.
2009-07-17code cleanupThomas Doerfler1-111/+101
2009-01-052009-01-05 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill1-4/+4
* libchip/serial/ns16550.c: Turn on ns16550_process() for BSP_FEATURE_IRQ_LEGACY case also.
2008-12-172008-12-17 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius1-1/+9
* libchip/serial/ns16550.c: Add CVS-Id. Fix #define mess.
2008-11-18libchip/serial/ns16550.c: Transmit the character in the polled writeThomas Doerfler1-34/+29
function within a critical section for printk() compatibility.
2008-09-232008-09-23 Sebastian Huber <sebastian.huber@embedded-brains.de>Joel Sherrill1-12/+5
* libchip/serial/ns16550.c: Enable interrupt code only for PowerPC or BSPs that support this feature.
2008-09-222008-09-22 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill1-1/+1
* libchip/serial/ns16550.c: Fix typo.
2008-09-222008-09-22 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill1-3/+3
* libchip/serial/ns16550.c: Fix typo.
2008-09-222008-09-22 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill1-1/+1
* libchip/serial/ns16550.c: Add not supported on arm even though it is not simple vectored.
2008-09-222008-09-22 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill1-3/+9
* libchip/serial/ns16550.c: Not currently supported on architectures with simple vectored interrupt model.
2008-09-22Include required header files. Removed support for old PowerPC exception ↵Thomas Doerfler1-142/+126
handling. Various fixes for interrupt related routines. Added support for BSPs with IRQ extension API.
2008-09-07Convert to "bool".Ralf Corsepius1-4/+4
2008-08-182008-08-18 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill1-8/+6
* libchip/serial/ns16550.c: Fix warning.
2007-07-18added PPC_e300 to raw_exception.cThomas Doerfler1-5/+0
removed timed abort in ns16550.c transmit code
2007-07-10compilable release of virtex/gen83xx/gen5200 powerpc adaptations. Merged ↵Thomas Doerfler1-1/+1
many different versions of new exception handling code to shared sources.
2005-05-172005-05-17 Jennifer Averett <jennifer.averett@oarcorp.com>Jennifer Averett1-1/+1
* ChangeLog, libchip/network/if_fxp.c, libchip/serial/ns16550.c: Modified to use rtems/irq.h.