summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/powerpc/mvme5500/pci (follow)
Commit message (Collapse)AuthorAgeFilesLines
* bsps: Move PCI drivers to bspsSebastian Huber2018-04-233-592/+0
| | | | | | This patch is a part of the BSP source reorganization. Update #3285.
* Remove make preinstallChris Johns2018-01-251-99/+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.
* powerpc: Replace BSP_panic() with rtems_panic()Sebastian Huber2017-11-221-1/+1
| | | | | | | | Due to a new rtems_panic() implementation, it is possible to replace the PowerPC-specific BSP_panic() with rtems_panic(). Remove BSP_panic() implementations. Close #3245.
* powerpc/mvme550/./pci.c: Use inttypes.h constant to fix 1 warning.Cillian O'Donnell2017-04-141-1/+2
|
* bsps/powerpc: Fix warningsSebastian Huber2017-02-151-2/+3
|
* powerpc/mvme5500: Use shared pci_find_device()Joel Sherrill2016-03-101-62/+0
|
* Use fixed-width C99 types for PowerPC in_be16() and co.Nick Withers2014-12-232-16/+18
| | | | | | Also use the const qualifier on the address pointer's target in in_*() Closes #2128
* powerpc/mvme5500: Fix warningsJoel Sherrill2014-10-192-42/+31
|
* powerpc/mvme5500/pci/pcifinddevice.c: Remove unused variableJoel Sherrill2014-10-191-9/+6
|
* Change all references of rtems.com to rtems.org.Chris Johns2014-03-211-1/+1
|
* Remove CVS-Ids.Ralf Corsépius2012-07-191-2/+0
|
* pci.h cleanup - Consolidate common defines to cpukit pci.hJoel Sherrill2012-05-163-10/+2
| | | | | | | | | | | | | + libbsp/sparc/shared/include/pci.h was largely a copy of an older version of the cpukit pci.h. Removed much of the contents and included <rtems/pci.h>. + sparc/*/pci*.c - Move to <rtems/pci.h> required updating to use uint32_t for dword accesses. + Rename PCI_MULTI_FUNCTION to PCI_HEADER_TYPE_MULTI_FUNCTION + Define PCI_HEADER_TYPE_MULTI_FUNCTION in cpukit pci.h and remove PCI_MULTI_FUNCTION definitions in C files. + Move PCI_INVALID_VENDORDEVICEID definitions from various C files to cpukit pci.h
* mvme5500 and cpukit pci.h - Eliminate mvme5500 specific pci.hJoel Sherrill2012-05-162-60/+1
| | | | | | | | All constants that should have been in cpukit pci.h were moved there. One naming style was corrected. This impacted if_wm.c. All other contents were the same as powerpc/shared/pci.h so BSP specific pci.h could be eliminated.
* 2011-04-10 Kate Feng <feng@bnl.gov>Joel Sherrill2011-06-173-13/+13
| | | | | | | | | | | | | PR 1786/bsps * Makefile.am: Add support for Altivec. * startup/bspstart.c, Makefile.am: Use shared/startup/zerobss.c instead. * make/custom/mvme5500.cfg: Change CPU_CFLAGS to "-mcpu=7450 -mtune=7450 -Dmpc7455" * irq/BSP_irq.c, pci/detect_host_bridge.c, pci.c, pcifinddevice.c: Remove warnings. * vme/VMEConfig.h, include/bsp.h: use VME shared IRQ handlers. * network/if_100MHz/GT64260eth.c: Recycle the Rx mbuf if there is any Rx error.
* 2009-12-11 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2009-12-111-8/+8
| | | | | PR 1483/cpukit * pci/pci.c: Rename pci_config into rtems_pci_config_t.
* Whitespace removal.Ralf Corsepius2009-11-306-44/+44
|
* 2009-05-08 Kate Feng <feng1@bnl.gov>Joel Sherrill2009-05-083-240/+149
| | | | | | | | | | | | | | * include/bsp.h, start/start.S, startup/bspstart.c: added CONFIGURE_MALLOC_BSP_SUPPORTS_SBRK in bsp.h. removed BSP_INIT_STACK_SIZE in bsp.h -- it uses __stack defined by the linker script (shared/startup/linkcmds) for the initial stack. replaced __rtems_end+4096 with __stack in start.S Removed legacy code in bspstart.c (inherited from old mvme2307 BSP but not relevant to this one) that tested trapping into PPCBug. Changed ConfVPD_buff[] to be static and added ReadConfVPD_buf() in bspstart.c
* Add missing prototypes.Ralf Corsepius2008-08-202-7/+5
|
* 2008-08-20 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2008-08-201-0/+2
| | | | * pci/pci.c: Add CVS Id.
* 2007-09-07 Kate Feng <feng1@bnl.gov>Joel Sherrill2007-09-134-112/+42
| | | | | | | | | | | | | | | | * ChangeLog, Makefile.am, README, README.booting, README.irq, preinstall.am, GT64260/MVME5500I2C.c, include/bsp.h, irq/irq.c, irq/irq.h, irq/irq_init.c, pci/detect_host_bridge.c, pci/pci.c, pci/pci_interface.c, pci/pcifinddevice.c, start/preload.S, startup/bspclean.c, startup/bspstart.c, startup/pgtbl_activate.c, startup/reboot.c, vectors/bspException.h, vectors/exceptionhandler.c: Merge my improvements in this BSP including a new network driver for the 1GHz NIC. * network/if_100MHz/GT64260eth.c, network/if_100MHz/GT64260eth.h, network/if_100MHz/GT64260ethreg.h, network/if_100MHz/Makefile.am, network/if_1GHz/Makefile.am, network/if_1GHz/POSSIBLEBUG, network/if_1GHz/if_wm.c, network/if_1GHz/if_wmreg.h, network/if_1GHz/pci_map.c, network/if_1GHz/pcireg.h: New files.
* 2007-04-01 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2007-04-011-2/+6
| | | | | | PR 1235/bsps * pci/pci.c: Add conditional declaration of variables used in debug printk's.
* Reflect changes to pci-API.Ralf Corsepius2007-03-313-13/+17
|
* 2007-01-29 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2007-01-291-12/+11
| | | | * GT64260/MVME5500I2C.c, pci/pci.c: Eliminate unchar.
* 2007-01-16 Till Straumann <strauman@slac.stanford.edu>Till Straumann2007-01-171-1/+46
| | | | | | | | | | | * ep1a/vme/vmeconfig.c, mvme5500/pci/pcifinddevice.c, * mvme5500/startup/pgtbl_activate.c, mvme5500/vectors/bspException.h, * mvme5500/vectors/exceptionhandler.c, mvme5500/vme/VME.h, * mvme5500/vme/vmeconfig.c, score603e/vme/vmeconfig.c, shared/pci/pcifinddevice.c, * shared/startup/pgtbl_activate.c, shared/startup/pgtbl_setup.c, * shared/startup/probeMemEnd.c, shared/startup/sbrk.c, shared/vme/VME.h, * shared/vme/VMEConfig.h, shared/vme/vme_universe.c, shared/vme/vmeconfig.c: Added SLAC/Stanford Authorship Note / Copyright + Liability Disclaimer.
* 2005-05-12 Jennifer Averett <jennifer.averett@oarcorp.com>Jennifer Averett2005-05-126-350/+319
| | | | | | | | * README.VME, include/bsp.h, irq/irq.h, network/GT64260eth.c, pci/detect_host_bridge.c, pci/gtpcireg.h, pci/pci.c, pci/pci.h, pci/pci_interface.c, pci/pcifinddevice.c: Submitted by Kate Feng <feng1@bnl.gov> as RTEMS-MVME5500 BSP v1.1 release. Modifications made to merge this release with the current tree.
* 2005-05-10 Jennifer Averett <jennifer.averett@oarcorp.com>Jennifer Averett2005-05-102-1086/+78
| | | | | * network/GT64260eth.c: Fixed warning. * pci/pci.c, pci/pci.h: Modified to depend upon rtems/pci.h
* 2005-05-04 Jennifer Averett <jennifer.averett@oarcorp.com>Jennifer Averett2005-05-042-2/+2
| | | | | * pci/pci.c, pci/pci.h, startup/bspstart.c: Name change to support common PCI interface
* 2005-04-15 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2005-04-151-3/+5
| | | | | | * GT64260/GT64260TWSI.c, GT64260/GT64260TWSI.h, irq/GT64260Int.c, network/GT64260eth.c, pci/pci.c, startup/bspclean.c, startup/reboot.c: Fix warnings.
* 2005-03-14 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2005-03-142-3/+3
| | | | | * pci/pci.h, pci/pcifinddevice.c: Continue PCI API unification. All use pci_find_device().
* 2005-03-04 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2005-03-042-2/+2
| | | | | * pci/pci.c, pci/pci.h, startup/bspstart.c: Make PCI initialize function part of the unified PCI API as pci_initialize().
* Remove (obsolete).Ralf Corsepius2004-10-211-35/+0
|
* 2004-10-20 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2004-10-202-588/+2
| | | | | | | | | | | | * README, configure.ac, GT64260/Makefile.am, include/bsp.h, irq/Makefile.am, irq/irq.c, irq/irq.h, irq/irq_init.c, network/GT64260ethreg.h, pci/pci.c, startup/bspstart.c: CVS Id string and license corrected. * GT64260/Makefile.in, clock/Makefile.in, console/Makefile.in, include/Makefile.am, include/Makefile.in, irq/Makefile.in, network/Makefile.in, pci/Makefile.in, start/Makefile.in, startup/Makefile.in, vectors/Makefile.in, vme/Makefile.in, wrapup/Makefile.in: Removed.
* Add MVME550 BSPEric Norum2004-10-208-0/+2599