summaryrefslogtreecommitdiffstats
path: root/c/src/libchip (follow)
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* 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
|