summaryrefslogtreecommitdiffstats
path: root/c/src/libchip (follow)
Commit message (Collapse)AuthorAgeFilesLines
* missing a couple register names + a #ifndef_ASM__ around serial.h inclusionPhong Pham2017-05-131-0/+4
| | | | Closes #3016.
* elnk.c: Fix printf() format warningsJoel Sherrill2017-04-201-3/+9
|
* elnk.c: rtems_elnk_driver_attach() prototype addedJoel Sherrill2017-04-201-0/+3
|
* elnk.c: Make elnk_txDaemon() static to fix warningJoel Sherrill2017-04-201-1/+1
|
* if_fxp.c: Add prototype of rtems_fxp_attach()Joel Sherrill2017-04-201-0/+3
|
* if_fxp.c: Remove unused variableJoel Sherrill2017-04-201-1/+1
|
* dec21140.c: Add prototype of dec21140_txDaemon()Joel Sherrill2017-04-201-0/+2
|
* dec21140.c: Fix printk() warningsJoel Sherrill2017-04-201-3/+3
|
* dec21140.c: Include <libcpu/page.h> to eliminate warningsJoel Sherrill2017-04-201-0/+1
|
* dec21140.c: Fix PRIxx formatterJoel Sherrill2017-04-201-1/+1
|
* libchip/network/dec21140.c: Use inttypes.h to fix 1 warning.Cillian O'Donnell2017-04-141-1/+3
|
* bsps: Fix baud settingsSebastian Huber2017-04-032-2/+2
| | | | Update #2897.
* termios: Synchronize with latest FreeBSD headersKevin Kirspel2017-03-223-6/+26
| | | | | | | | | | | Adding modified FreeBSD headers to synchronize RTEMS termios with FreeBSD. Modify termios to support dedicated input and output baud for termios structure. Updated BSPs to use dedicated input and output baud in termios structure. Updated tools to use dedicated input and output baud in termios structure. Updated termios testsuites to use dedicated input and output baud in termios structure. Close #2897.
* libchip/serial/mc68681.c: Add error checkJoel Sherrill2017-03-141-0/+2
| | | | This was spotted by Coverity Scan.
* Use <sys/endian.h>Sebastian Huber2017-01-241-11/+5
| | | | Update #2803.
* libchip: Really fix high capacity detectionSebastian Huber2017-01-201-1/+1
| | | | Update #2239.
* Rename is_internal to always_set_to_falseSebastian Huber2016-12-121-1/+1
| | | | Update #2825.
* libchip/network/if_fxp.c: do not use rtems_interrupt_disable.Pavel Pisa2016-10-171-7/+4
| | | | | | | | | | The single write to memory or ioport output are mostly atomic operations already. The proper memory synchronization barrier should be used around them to guarantee ordering (sync or eieio on PowerPC for example) but because I have not found settable portable primitive only compiler barrier is used. It should be enough on x86 because the externally visible order should be/is guaranteed to be preserved on x86 architecture.
* classic networking: adapt FXP driver to work with actual PCI and IRQ code.Pavel Pisa2016-09-212-106/+98
| | | | | | | | | | | Tested to work with QEMU provided Intel i82557b network controller emulation. qemu-system-x86_64 -enable-kvm -kernel $APP_BINARY \ -vga cirrus \ -append "--console=/dev/com1" \ -serial stdio \ -net nic,vlan=1,macaddr=be:be:be:10:00:01,model=i82557b \ -net tap,ifname=tap1,vlan=1,script=no,downscript=no
* classic networking: do not reference BSP_irq_enabled_at_i8259s which is no ↵Pavel Pisa2016-09-204-31/+4
| | | | | | | more available on i386. This change is required to build RTEMS with classic "--enable-networking" and link applications/tests which reference RTEMS_BSP_NETWORK_DRIVER_ATTACH.
* Make rtems/print.h independent of rtems/bspIo.hSebastian Huber2016-06-221-0/+1
|
* bsps: Fix printk() format warningSebastian Huber2016-06-171-1/+1
|
* bsps: Fix MPCI_Fatal() prototypeSebastian Huber2016-06-172-4/+4
| | | | Close #2742.
* libchip/shmdr/send.c: Fix warning and clean upJoel Sherrill2016-06-161-15/+21
|
* libchip/shmdr/poll.c: Fix warning and clean upJoel Sherrill2016-06-161-5/+8
|
* libchip: Remove dwmac network interface driverSebastian Huber2016-05-3116-6658/+1
| | | | | The network interface driver for this module is located in the new network stack (libbsd), see file "if_dwc.c".
* score: Rename _ISR_Disable() and _ISR_Enable()Sebastian Huber2016-05-201-4/+4
| | | | | | | | | Rename _ISR_Disable() into _ISR_Local_disable(). Rename _ISR_Enable() into _ISR_Local_enable(). Remove _Debug_Is_owner_of_giant(). This is a preparation to remove the Giant lock. Update #2555.
* ibchip/ns16550: Minor optimisation.Chris Johns2016-05-111-13/+14
|
* sonic.c: Fix warning on gcc 6Martin Galvan2016-05-061-13/+11
| | | | | | | | | | | | | GCC 6.0 previews give the following warning on sonic.c: ../../../../../rtems/c/src/libchip/network/sonic.c:837:11: warning: statement is indented as if it were guarded by... [-Wmisleading-indentation] This was discussed here: https://lists.rtems.org/pipermail/devel/2016-March/014004.html and we concluded it would be better to rewrite the entire snippet.
* pc386: Eliminate pcibios.h and begin removal obsolete PCI BIOS API usesJoel Sherrill2016-03-101-1/+42
| | | | | | | | | | | | | | | | | | | | This first step eliminates the following as public APIs for the pc386 BSP: + pcib_conf_read8 + pcib_conf_read16 + pcib_conf_read32 + pcib_conf_write8 + pcib_conf_write16 + pcib_conf_write32 The if_fxp.c driver uses these enough where I provided local macros to allow the code to be mostly unmodified. On other architectures these names have been used privately. It will take multiple patches to completely eliminate these symbols from the RTEMS source tree. The focus of the first effort is just to eliminate these as a public pc386 API so support can be added for systems without legacy PCI BIOS.
* 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
|