summaryrefslogtreecommitdiffstats
path: root/c/src/libchip (unfollow)
Commit message (Collapse)AuthorFilesLines
2018-04-09bsps: Move shmdr to bspsSebastian Huber16-807/+0
This patch is a part of the BSP source reorganization. Update #3285.
2018-04-04bsps: Move libchip to bspsSebastian Huber78-35113/+1
This patch is a part of the BSP source reorganization. Update #3285.
2018-04-04build: Remove EXTRA_DISTSebastian Huber1-9/+0
A "make dist" is not supported. So, it makes no sense to have pure "make dist" related stuff in the Makefile.am.
2018-03-22mpci: Avoid use of RTEMS_RELLDFLAGSSebastian Huber1-4/+3
2018-01-31bsps: Move network define to source filesSebastian Huber11-1/+20
Define __INSIDE_RTEMS_BSD_TCPIP_STACK__ in the network interface driver source files to avoid some build system magic.
2018-01-25Remove make preinstallChris Johns39-7248/+0
A speciality of the RTEMS build system was the make preinstall step. It copied header files from arbitrary locations into the build tree. The header files were included via the -Bsome/build/tree/path GCC command line option. This has at least seven problems: * The make preinstall step itself needs time and disk space. * Errors in header files show up in the build tree copy. This makes it hard for editors to open the right file to fix the error. * There is no clear relationship between source and build tree header files. This makes an audit of the build process difficult. * The visibility of all header files in the build tree makes it difficult to enforce API barriers. For example it is discouraged to use BSP-specifics in the cpukit. * An introduction of a new build system is difficult. * Include paths specified by the -B option are system headers. This may suppress warnings. * The parallel build had sporadic failures on some hosts. This patch removes the make preinstall step. All installed header files are moved to dedicated include directories in the source tree. Let @RTEMS_CPU@ be the target architecture, e.g. arm, powerpc, sparc, etc. Let @RTEMS_BSP_FAMILIY@ be a BSP family base directory, e.g. erc32, imx, qoriq, etc. The new cpukit include directories are: * cpukit/include * cpukit/score/cpu/@RTEMS_CPU@/include * cpukit/libnetworking The new BSP include directories are: * bsps/include * bsps/@RTEMS_CPU@/include * bsps/@RTEMS_CPU@/@RTEMS_BSP_FAMILIY@/include There are build tree include directories for generated files. The include directory order favours the most general header file, e.g. it is not possible to override general header files via the include path order. The "bootstrap -p" option was removed. The new "bootstrap -H" option should be used to regenerate the "headers.am" files. Update #3254.
2018-01-22bsps: Move wd80x3.h to libchip/wd80x3.hSebastian Huber3-1/+144
This header is used also by the motorola_powerpc BSP. Update #3254.
2018-01-15libchip: Use public include pathSebastian Huber1-1/+1
Update #3254.
2018-01-04libchip: Use public include pathChris Johns8-11/+10
Update #3254.
2017-10-18dev/serial: Lazy update of NS16550 settingsSebastian Huber2-3/+13
Updates of the line control and baud divisor while transfers are in progress may lead to unpredictable behaviour on some chips. Perform the updates only if necessary. Close #3198.
2017-09-28bsps: Fix integer to/from pointer warningsSebastian Huber1-3/+3
Update #3082.
2017-08-29libchip,greth: disable driver if SMP kernelDaniel Hellstrom2-2/+5
Update #2355
2017-08-22libchip/serial: Fix integer typesSebastian Huber1-3/+3
Update #3082.
2017-08-22libchip/ata: Fix integer to/from pointerSebastian Huber1-2/+2
Update #3082.
2017-07-19libchip: Fix format warningSebastian Huber1-1/+1
2017-06-13bsp: Fixes due to header file changesSebastian Huber1-8/+19
Update #2833.
2017-06-09if_fxp: Include missing <inttypes.h>Sebastian Huber1-5/+6
Fix format warnings.
2017-06-07Do not include <sys/ioctl.h> in kernel-spaceSebastian Huber1-1/+0
Update #2833.
2017-06-07Move RTEMS-specific Termios API contentSebastian Huber1-0/+2
Remove obsolete support for OFILL, OFDEL, NLDLY, CRDLY, BSDLY, VTDLY, and FFDLY which is not present on FreeBSD and not implemented in Linux. Update #2833.
2017-06-07network: Include missing <inttypes.h>Sebastian Huber1-0/+1
Update #2833.
2017-05-13missing a couple register names + a #ifndef_ASM__ around serial.h inclusionPhong Pham1-0/+4
Closes #3016.
2017-04-20elnk.c: Fix printf() format warningsJoel Sherrill1-3/+9
2017-04-20elnk.c: rtems_elnk_driver_attach() prototype addedJoel Sherrill1-0/+3
2017-04-20elnk.c: Make elnk_txDaemon() static to fix warningJoel Sherrill1-1/+1
2017-04-20if_fxp.c: Add prototype of rtems_fxp_attach()Joel Sherrill1-0/+3
2017-04-20if_fxp.c: Remove unused variableJoel Sherrill1-1/+1
2017-04-20dec21140.c: Add prototype of dec21140_txDaemon()Joel Sherrill1-0/+2
2017-04-20dec21140.c: Fix printk() warningsJoel Sherrill1-3/+3
2017-04-20dec21140.c: Include <libcpu/page.h> to eliminate warningsJoel Sherrill1-0/+1
2017-04-20dec21140.c: Fix PRIxx formatterJoel Sherrill1-1/+1
2017-04-14libchip/network/dec21140.c: Use inttypes.h to fix 1 warning.Cillian O'Donnell1-1/+3
2017-04-03bsps: Fix baud settingsSebastian Huber2-2/+2
Update #2897.
2017-03-22termios: Synchronize with latest FreeBSD headersKevin Kirspel3-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.
2017-03-14libchip/serial/mc68681.c: Add error checkJoel Sherrill1-0/+2
This was spotted by Coverity Scan.
2017-01-24Use <sys/endian.h>Sebastian Huber1-11/+5
Update #2803.
2017-01-20libchip: Really fix high capacity detectionSebastian Huber1-1/+1
Update #2239.
2016-12-12Rename is_internal to always_set_to_falseSebastian Huber1-1/+1
Update #2825.
2016-10-17libchip/network/if_fxp.c: do not use rtems_interrupt_disable.Pavel Pisa1-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.
2016-09-21classic networking: adapt FXP driver to work with actual PCI and IRQ code.Pavel Pisa2-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
2016-09-20classic networking: do not reference BSP_irq_enabled_at_i8259s which is no ↵Pavel Pisa4-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.
2016-06-22Make rtems/print.h independent of rtems/bspIo.hSebastian Huber1-0/+1
2016-06-17bsps: Fix printk() format warningSebastian Huber1-1/+1
2016-06-17bsps: Fix MPCI_Fatal() prototypeSebastian Huber2-4/+4
Close #2742.
2016-06-16libchip/shmdr/send.c: Fix warning and clean upJoel Sherrill1-15/+21
2016-06-16libchip/shmdr/poll.c: Fix warning and clean upJoel Sherrill1-5/+8
2016-05-31libchip: Remove dwmac network interface driverSebastian Huber16-6658/+1
The network interface driver for this module is located in the new network stack (libbsd), see file "if_dwc.c".
2016-05-20score: Rename _ISR_Disable() and _ISR_Enable()Sebastian Huber1-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.
2016-05-11ibchip/ns16550: Minor optimisation.Chris Johns1-13/+14
2016-05-06sonic.c: Fix warning on gcc 6Martin Galvan1-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.
2016-03-10pc386: Eliminate pcibios.h and begin removal obsolete PCI BIOS API usesJoel Sherrill1-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.