summaryrefslogtreecommitdiffstats
path: root/c/src/libchip (follow)
Commit message (Collapse)AuthorAgeFilesLines
* sapi: Use one SMP lock for all chainsSebastian Huber2014-03-111-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This partially reverts commit 1215fd4d9426a59d568560e9a485628560363133. In order to support profiling of SMP locks and provide a future compatible SMP locks API it is necessary to add an SMP lock destroy function. Since the commit above adds an SMP lock to each chain control we would have to add a rtems_chain_destroy() function as well. This complicates the chain usage dramatically. Thus revert the patch above. A global SMP lock for all chains is used to implement the protected chain operations. Advantages: * The SAPI chain API is now identical on SMP and non-SMP configurations. * The size of the chain control is reduced and is then equal to the Score chains. * The protected chain operations work correctly on SMP. Disadvantage: * Applications using many different chains and the protected operations may notice lock contention. The chain control size drop is a huge benefit (SAPI chain controls are 66% larger than the Score chain controls). The only disadvantage is not really a problem since these applications can use specific interrupt locks and unprotected chain operations to avoid this issue.
* libchip/serial: DocumentationSebastian Huber2014-01-231-10/+1
|
* SPI SD-Card: setup valid CRC-7 for STOP_TRANSMISSION command.Pavel Pisa2013-10-081-0/+5
| | | | | | | | | | | | STOP_TRANSMISSION command is used to finish READ_MULTIPLE_BLOCK command and its format is regular command format. It requires valid CRC-7 to have effect at least on same cards types else it is ignored and attempt to issue next READ or WRITE commands results in illegal command condition (0x04) preceded by strange (0x3f) for tested card. Signed-off-by: Pavel Pisa <ppisa@pikron.com>
* sapi: SMP support for chainsSebastian Huber2013-08-301-1/+1
| | | | | | | | Add ISR lock to chain control for proper SMP protection. Replace rtems_chain_extract() with rtems_chain_explicit_extract() and rtems_chain_insert() with rtems_chain_explicit_insert() on SMP configurations. Use rtems_chain_explicit_extract() and rtems_chain_explicit_insert() to provide SMP support.
* score: Merge tod implementation into one fileSebastian Huber2013-07-262-5/+5
| | | | | Delete TOD_MICROSECONDS_PER_SECOND, TOD_MICROSECONDS_TO_TICKS() and TOD_MILLISECONDS_TO_TICKS().
* score: Merge sysstate API into one fileSebastian Huber2013-07-243-0/+3
|
* Include missing <string.h>Sebastian Huber2013-07-233-0/+3
|
* bsps/serial: Move bsp_console_select() declarationSebastian Huber2013-07-171-0/+7
|
* libchip/ata: Remove dead codeSebastian Huber2013-07-161-58/+5
|
* libchip ns16550.c: Improve commentJoel Sherrill2013-07-091-1/+4
|
* libchip/serial: Add const qualifierSebastian Huber2013-06-291-1/+1
|
* libchip/serial: Fix warningSebastian Huber2013-06-211-1/+0
|
* greth: do not advertise 1000M capability if MAC does not support it.Jiri Gaisler2013-06-191-0/+11
|
* greth: prefer full duplex if availableJiri Gaisler2013-06-191-3/+3
|
* libchip: Use Termios API change for NS16550Sebastian Huber2013-06-121-13/+9
| | | | This avoids a race condition on SMP configurations.
* libchip: Delete superfluous assignmentsSebastian Huber2013-06-121-4/+0
|
* libchip/serial: Fix warningsSebastian Huber2013-04-081-1/+1
|
* libchip: Fix prototypesSebastian Huber2013-03-013-24/+24
|
* libchip/rtc: Fixed 19 compiler warningsAndreas Heinig2013-02-283-3/+7
|
* libchip/serial: Fixed warningsAndreas Heinig2013-02-281-0/+3
|
* libchip/network: Fixed warningAndreas Heinig2013-02-271-1/+2
|
* libchip/serial: Make NS16550 handler publicSebastian Huber2013-02-115-18/+29
| | | | This allows derived drivers to use these functions.
* libchip/serial: Add const qualifierSebastian Huber2013-02-117-22/+22
|
* libchip/serial: Fix warningsSebastian Huber2013-02-112-2/+13
|
* libchip/serial: Fix warningsSebastian Huber2013-02-111-2/+1
|
* libchip/serial: Fix warningsSebastian Huber2013-02-112-6/+9
|
* libchip: Add I2C SEMTECH SC620 octal LED driverSebastian Huber2013-01-094-0/+141
|
* libblock: Block device transfer request API changeSebastian Huber2012-11-023-9/+10
| | | | | | | | | | | | | | Add and use rtems_blkdev_request_done(). Block device transfer requests must signal the completion status now with rtems_blkdev_request_done(). The return value of the block device IO control will be ignored for transfer requests. The first parameter of rtems_blkdev_request_cb is now the transfer request structure. Renamed rtems_blkdev_request::req_done to rtems_blkdev_request::done to break third party drivers at compile time, otherwise this API change would result in runtime errors.
* libnetworking: Use system eventsSebastian Huber2012-11-0210-30/+30
| | | | | | | Add reserved system events RTEMS_EVENT_SYSTEM_NETWORK_SBWAIT and RTEMS_EVENT_SYSTEM_NETWORK_SOSLEEP. Add and use rtems_bsdnet_event_send().
* Eliminate unused var 'digit'.Ralf Corsépius2012-10-191-4/+1
|
* Make open_eth_txDaemon static.Ralf Corsépius2012-10-191-1/+1
|
* Fix z85c30_get_register, z85c30_set_register prototype mismatch.Ralf Corsépius2012-10-151-2/+2
|
* Include libchip/z85c30.h.Ralf Corsépius2012-10-151-0/+2
|
* Include stdint.h, libchip/serial.h.Ralf Corsépius2012-10-151-0/+4
|
* Use proper 3 line form of license textJoel Sherrill2012-10-112-4/+6
|
* bsps: PR2076: SMC91111 fixes for mpc55xxevb BSPPeter Dufault2012-10-021-2/+2
| | | | | | | | - A typo prevents if_smc.c from being built when configured; - The argument passed to the interrupt handler was incorrect and the addition of support for RTEMS_INTERRUPT_SHARED exposed it; - A "#ifdef DEBUG" is supposed to be "#if DEBUG" since 0 is supposed to make it quiet.
* Remove CVS-Ids.Ralf Corsépius2012-07-193-6/+1
|
* libchip: Add support for NS16550 with FDRSebastian Huber2012-06-153-22/+44
|
* libchip/ata: Fix pre-processor symbol evaluationSebastian Huber2012-06-121-7/+7
|
* pci.h cleanup - Consolidate common defines to cpukit pci.hJoel Sherrill2012-05-161-1/+0
| | | | | | | | | | | | | + libbsp/sparc/shared/include/pci.h was largely a copy of an older version of the cpukit pci.h. Removed much of the contents and included <rtems/pci.h>. + sparc/*/pci*.c - Move to <rtems/pci.h> required updating to use uint32_t for dword accesses. + Rename PCI_MULTI_FUNCTION to PCI_HEADER_TYPE_MULTI_FUNCTION + Define PCI_HEADER_TYPE_MULTI_FUNCTION in cpukit pci.h and remove PCI_MULTI_FUNCTION definitions in C files. + Move PCI_INVALID_VENDORDEVICEID definitions from various C files to cpukit pci.h
* Remove CVS Id Strings (manual edits after script)Joel Sherrill2012-05-115-12/+3
| | | | | | These modifications were required by hand after running the script. In some cases, the file names did not match patterns. In others, the format of the file did not match any common patterns.
* Remove All CVS Id Strings Possible Using a ScriptJoel Sherrill2012-05-1195-239/+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.
* libchip/serial - Only use set_vector() on Simple Vectored ArchitecturesJoel Sherrill2012-05-092-2/+11
|
* Revert: Remove CVS IdsJoel Sherrill2012-05-071-0/+4
| | | | | See http://www.rtems.org/pipermail/rtems-devel/2012-May/001006.html for details.
* Remove CVS-Ids.Ralf Corsépius2012-05-041-4/+0
|
* libchip hcms29xx - Remove odd $Id$ and clean up file headerJoel Sherrill2012-05-025-17/+1
|
* libchip z85c30 - Remove bad $Id$ and clean up file headerJoel Sherrill2012-05-021-4/+6
|
* lm32: replace lm32_isr with rtems_isrGedare Bloom2012-04-161-4/+0
|
* m68k: replace m68k_isr with rtems_isrGedare Bloom2012-04-162-7/+1
|
* GRETH: use shared-irq service instead of BSP specific set_vec()Daniel Hellstrom2012-04-062-23/+15
| | | | | | | | | | The ISR code is updated to use argument instead of global greth structure, now that the greth private is available in the ISR. The shared-irq routines will unmask the IRQ, so the forced LEON3 BSP unmask/clear IRQ is removed. Signed-off-by: Daniel Hellstrom <daniel@gaisler.com>