summaryrefslogtreecommitdiffstats
path: root/c/src/libchip (follow)
Commit message (Collapse)AuthorAgeFilesLines
* libchip/network/if_fxp.c: Do not use rtems_clock_get()Joel Sherrill2015-03-171-1/+1
|
* libchip/i2c/spi-memdrv.c: Do not use rtems_clock_get()Joel Sherrill2015-03-171-7/+4
|
* libchip/serial: Fix warningSebastian Huber2015-03-051-2/+1
|
* libchip: Fix high capacity detection for MMCSebastian Huber2015-01-231-1/+1
| | | | Close #2239.
* libchip/serial/z85c30.c: Remove redundant assignmentJosh Oguin2014-11-261-1/+0
| | | | This was flagged by CodeSonar.
* libchip/serial/ns16550* and z8530*: Assert on baud number to avoid divide by 0Josh Oguin2014-11-263-1/+14
| | | | | | 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.
* libchip/display/disp_hcms29xx.c: Remove useless variable and checkJosh Oguin2014-11-261-6/+1
| | | | This was flagged by CodeSonar.
* Delete or rename MIN/MAX macros and definesSebastian Huber2014-11-211-1/+1
| | | | Include <sys/param.h> if necessary to get the MIN()/MAX() macros.
* arm/nds: Warning clean upJoel Sherrill2014-10-101-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.
* libchip/rtc/mc146818a.c: Compiles again and clean upJoel Sherrill2014-10-101-6/+14
|
* libchip/rtc/mc146818a*: Fix prototypes to use uintptr_t and fix set but ↵Joel Sherrill2014-10-092-11/+17
| | | | unused warning
* libchip/serial: Task driven mode for NS16550Sebastian Huber2014-10-072-12/+120
|
* libchip/serial: Fix NS16550 for pppstart()Sebastian Huber2014-10-072-18/+40
| | | | | | | Call rtems_termios_dequeue_characters() only in case all characters of the last write handler invocation have been transmitted. This avoids problems with pppstart() since the start line discipline does not know how many characters have been dequeued and assumes the maximum.
* libchip/serial: Add alternative NS16550 driverSebastian Huber2014-10-075-88/+798
| | | | Use the Termios device API.
* libchip/dwmac: Use RTEMS_DEVOLATILE()Sebastian Huber2014-09-081-4/+11
|
* Regenerate all preinstall.am files.Chris Johns2014-08-291-6/+6
| | | | | With this patch the preinstall.am files are in a set order and not dependent on now perl implements a hash.
* libchip/dwmac: Make PHY address user configurableChristian Mauderer2014-08-223-12/+30
| | | | | | This patch allows the user to configure the PHY address for the DWMAC driver by giving a pointer to a dwmac_user_cfg structure to network stack via rtems_bsdnet_ifconfig::drv_ctrl.
* GRETH: remove TCP/UDP HW checksum generationDaniel Hellstrom2014-06-051-2/+2
| | | | The GRETH doesn't support IP fragments.
* libchip: Add asserts to dwmac driverRalf Kirchner2014-04-301-0/+3
|
* libchip: Correct netstats message for dwmac driverRalf Kirchner2014-04-301-1/+1
|
* libchip: Correct error handling in dwmac driverRalf Kirchner2014-04-171-11/+4
| | | | By fault an rtems_status_code has been expected instead of an errno error number.
* libchip: Reduce tx interruptsRalf Kirchner2014-04-174-222/+262
| | | | | | | Reduce number of packet transmitted interrupts by using the interrupt mechanism only if we run out of DMA descriptors. Under normal conditions regaining DMA descriptors, mbufs and clusters is handled via a counter.
* libchip: CleanupRalf Kirchner2014-04-171-2/+2
|
* libchip: Improve handling of DMA suspendsRalf Kirchner2014-04-171-0/+1
| | | | Reset the corresponding DMA status bit
* libchip: SMP support for NS16550Sebastian Huber2014-04-161-19/+22
|
* libchip: Avoid __DEVOLATILE()Sebastian Huber2014-03-311-11/+9
|
* SPI SD-Card: adapt common driver code to block devices core API changes.Pavel Pisa2014-03-311-3/+3
|
* greth: Make local functions static, remove overflow and correct printf call.Daniel Cederman2014-03-211-6/+8
|
* smc91111: Move driver attach prototype to header file.Daniel Cederman2014-03-212-3/+8
| | | | Also signal to compiler that the start variable in lan91cxx_recv is only used when debugging.
* Change all references of rtems.com to rtems.org.Chris Johns2014-03-2180-80/+80
|
* libchip: Relax buffer counts and add fatal errorRalf Kirchner2014-03-141-2/+13
|
* libchip: Include <bsp.h> BSP options definitionSebastian Huber2014-03-141-2/+2
|
* libchip: Check interrupt extension availabilitySebastian Huber2014-03-131-0/+13
|
* libchip: Avoid <bsp/utility.h>Sebastian Huber2014-03-132-578/+612
|
* libchip: Add dwmac 10/100/1000 network driverRalf Kirchner2014-03-1316-1/+6540
|
* 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.