summaryrefslogtreecommitdiffstats
path: root/cpukit/libpci (unfollow)
Commit message (Collapse)AuthorFilesLines
2022-03-22cpukit/libpci: Change license to BSD-2Joel Sherrill22-66/+484
Updates #3053.
2021-05-26cpukit/libpci: fix potential buffer overflow in pci_cfg_print_code.cHarrison Edward Gerber1-2/+2
See also CID 1399721 Closes #4442
2021-03-05pci_cfg_read.c: Fix Missing break in switch (CID #1399723)Ryan Long1-0/+1
CID 1399723: Missing break in switch in pci_read_addressable(). Closes #4279
2019-01-07Fix format warningsSebastian Huber3-18/+24
2018-10-10build: Merge libpci/Makefile.amSebastian Huber1-35/+0
2018-04-04build: Remove EXTRA_DISTSebastian Huber1-1/+0
A "make dist" is not supported. So, it makes no sense to have pure "make dist" related stuff in the Makefile.am.
2018-01-25Remove make preinstallChris Johns14-2895/+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-02sparc: Remove BSP specifics from <pci/irq.h>Sebastian Huber1-6/+16
Update #3254. Update #3260. Update #3269.
2018-01-02sparc: Remove BSP specifics from <pci/access.h>Sebastian Huber1-93/+0
Update #3254. Update #3260.
2017-09-29libpci: fix pci device allocationDaniel Hellstrom5-37/+32
The refactoring of pci_dev_create() was incorrect since the code relied on different defines before including pci/cfg.h. This reverts back to the original code having two pci_dev_create() one in auto and one in read library. confdefs.h selectes between the two libraries so both there is no link conflict. Updates #3029
2017-08-25libpci: Use calloc()Sebastian Huber1-2/+1
Update #2133.
2017-08-25Include missing <string.h>Sebastian Huber1-0/+1
Update #2133.
2017-05-02leon, GR-CPCI-GR740: Added peripheral PCI driverJavier Jalle2-0/+2
2017-03-06libpci: code cleanupDaniel Hellstrom1-3/+1
2015-04-17DRVMGR: renamed RES_EMPTY to DRVMGR_RES_EMPTYDaniel Hellstrom1-1/+1
2015-04-17DRVMGR: renamed info_dev to get_info_devDaniel Hellstrom1-1/+1
2015-04-17DRVMGR: change name of freq_get to get_freqDaniel Hellstrom1-3/+3
2015-04-17LIBPCI: updated license to rtems.orgDaniel Hellstrom32-32/+32
2015-04-17LIBPCI: new implementation private header fileDaniel Hellstrom7-45/+56
- new implementation private header file - moved double implementation of pci_dev_create used by read & auto cfg libraries to common pci_dev_create.c - moved declaration of pci_bus_cnt to private header file so avoid extern in .c files
2015-04-17LIBPCI: various comment/unsed clean-upsDaniel Hellstrom1-14/+9
2015-04-17LIBPCI: use enum with pci_system_typeDaniel Hellstrom2-3/+3
2015-04-17LIBPCI: use RTEMS_INLINE_ROUTINEDaniel Hellstrom2-35/+40
2015-04-17LIBPCI: moved comment out of license headerDaniel Hellstrom1-4/+9
2015-04-17PCI BUS: moved comment out of license headerDaniel Hellstrom2-24/+22
2015-04-17LIBPCI: added license and auto-gen comment to pci/ids.hDaniel Hellstrom1-1/+26
To be Merged.
2015-04-17LIBPCI: clean-up pci_for_each_child() search argDaniel Hellstrom1-1/+4
2015-04-17LIBPCI: remove $Id in makefile.amDaniel Hellstrom1-4/+0
2015-04-17LIBPCI: converted to BSD headerDaniel Hellstrom14-1158/+1833
2015-04-17DRVMGR: PCI BUS converted to BSD headerDaniel Hellstrom1-8/+8
2015-04-17LIBPCI: moved pci_bus copyright into a single lineDaniel Hellstrom2-4/+2
2015-04-17LIBPCI: moved copyright into a single lineDaniel Hellstrom27-54/+27
2015-04-17LIBPCI: removed unused changes fileDaniel Hellstrom1-46/+0
2015-04-17LIBPCI: fixed RES2DEV in pci/cfg.hDaniel Hellstrom1-2/+5
2015-04-17NGMP PCI: added support for NGMP prototype boardsDaniel Hellstrom1-0/+1
2015-04-17GR-CPCI-LEON4-N2X: added PCI peripheral driver for PCI deviceDaniel Hellstrom2-0/+2
Interrupts have not been test yet
2015-04-17LIBPCI: added DRVMGR model for PCI busDaniel Hellstrom4-0/+740
2015-04-17LIBPCI: added PCI layer to cpukit/libpciDaniel Hellstrom34-0/+4786