summaryrefslogtreecommitdiffstats
path: root/c/src/libchip (unfollow)
Commit message (Collapse)AuthorFilesLines
2015-03-17libchip/network/if_fxp.c: Do not use rtems_clock_get()Joel Sherrill1-1/+1
2015-03-17libchip/i2c/spi-memdrv.c: Do not use rtems_clock_get()Joel Sherrill1-7/+4
2015-03-05libchip/serial: Fix warningSebastian Huber1-2/+1
2015-01-23libchip: Fix high capacity detection for MMCSebastian Huber1-1/+1
Close #2239.
2014-11-26libchip/serial/z85c30.c: Remove redundant assignmentJosh Oguin1-1/+0
This was flagged by CodeSonar.
2014-11-26libchip/serial/ns16550* and z8530*: Assert on baud number to avoid divide by 0Josh Oguin3-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.
2014-11-26libchip/display/disp_hcms29xx.c: Remove useless variable and checkJosh Oguin1-6/+1
This was flagged by CodeSonar.
2014-11-21Delete or rename MIN/MAX macros and definesSebastian Huber1-1/+1
Include <sys/param.h> if necessary to get the MIN()/MAX() macros.
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-10libchip/rtc/mc146818a.c: Compiles again and clean upJoel Sherrill1-6/+14
2014-10-09libchip/rtc/mc146818a*: Fix prototypes to use uintptr_t and fix set but ↵Joel Sherrill2-11/+17
unused warning
2014-10-07libchip/serial: Task driven mode for NS16550Sebastian Huber2-12/+120
2014-10-07libchip/serial: Fix NS16550 for pppstart()Sebastian Huber2-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.
2014-10-07libchip/serial: Add alternative NS16550 driverSebastian Huber5-88/+798
Use the Termios device API.
2014-09-08libchip/dwmac: Use RTEMS_DEVOLATILE()Sebastian Huber1-4/+11
2014-08-29Regenerate all preinstall.am files.Chris Johns1-6/+6
With this patch the preinstall.am files are in a set order and not dependent on now perl implements a hash.
2014-08-22libchip/dwmac: Make PHY address user configurableChristian Mauderer3-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.
2014-06-05GRETH: remove TCP/UDP HW checksum generationDaniel Hellstrom1-2/+2
The GRETH doesn't support IP fragments.
2014-04-30libchip: Add asserts to dwmac driverRalf Kirchner1-0/+3
2014-04-30libchip: Correct netstats message for dwmac driverRalf Kirchner1-1/+1
2014-04-17libchip: Correct error handling in dwmac driverRalf Kirchner1-11/+4
By fault an rtems_status_code has been expected instead of an errno error number.
2014-04-17libchip: Reduce tx interruptsRalf Kirchner4-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.
2014-04-17libchip: CleanupRalf Kirchner1-2/+2
2014-04-17libchip: Improve handling of DMA suspendsRalf Kirchner1-0/+1
Reset the corresponding DMA status bit
2014-04-16libchip: SMP support for NS16550Sebastian Huber1-19/+22
2014-03-31libchip: Avoid __DEVOLATILE()Sebastian Huber1-11/+9
2014-03-31SPI SD-Card: adapt common driver code to block devices core API changes.Pavel Pisa1-3/+3
2014-03-21greth: Make local functions static, remove overflow and correct printf call.Daniel Cederman1-6/+8
2014-03-21smc91111: Move driver attach prototype to header file.Daniel Cederman2-3/+8
Also signal to compiler that the start variable in lan91cxx_recv is only used when debugging.
2014-03-21Change all references of rtems.com to rtems.org.Chris Johns80-80/+80
2014-03-14libchip: Relax buffer counts and add fatal errorRalf Kirchner1-2/+13
2014-03-14libchip: Include <bsp.h> BSP options definitionSebastian Huber1-2/+2
2014-03-13libchip: Check interrupt extension availabilitySebastian Huber1-0/+13
2014-03-13libchip: Avoid <bsp/utility.h>Sebastian Huber2-578/+612
2014-03-13libchip: Add dwmac 10/100/1000 network driverRalf Kirchner16-1/+6540
2014-03-11sapi: Use one SMP lock for all chainsSebastian Huber1-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.
2014-01-23libchip/serial: DocumentationSebastian Huber1-10/+1
2013-10-08SPI SD-Card: setup valid CRC-7 for STOP_TRANSMISSION command.Pavel Pisa1-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>
2013-08-30sapi: SMP support for chainsSebastian Huber1-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.
2013-07-26score: Merge tod implementation into one fileSebastian Huber2-5/+5
Delete TOD_MICROSECONDS_PER_SECOND, TOD_MICROSECONDS_TO_TICKS() and TOD_MILLISECONDS_TO_TICKS().
2013-07-24score: Merge sysstate API into one fileSebastian Huber3-0/+3
2013-07-23Include missing <string.h>Sebastian Huber3-0/+3
2013-07-17bsps/serial: Move bsp_console_select() declarationSebastian Huber1-0/+7
2013-07-16libchip/ata: Remove dead codeSebastian Huber1-58/+5
2013-07-09libchip ns16550.c: Improve commentJoel Sherrill1-1/+4
2013-06-29libchip/serial: Add const qualifierSebastian Huber1-1/+1
2013-06-21libchip/serial: Fix warningSebastian Huber1-1/+0
2013-06-19greth: do not advertise 1000M capability if MAC does not support it.Jiri Gaisler1-0/+11
2013-06-19greth: prefer full duplex if availableJiri Gaisler1-3/+3
2013-06-12libchip: Use Termios API change for NS16550Sebastian Huber1-13/+9
This avoids a race condition on SMP configurations.