* startup/bspstart.c: Initialize PCI bus in bsp_start function.
This commit is contained in:
Joel Sherrill
2005-08-18 22:24:46 +00:00
parent 60bf9c0ef6
commit 71319f7768
2 changed files with 19 additions and 0 deletions

View File

@@ -1,3 +1,11 @@
2005-08-18 Karel Gardas <kgardas@objectsecurity.com>
* startup/bspstart.c: Initialize PCI bus in bsp_start function.
2005-08-18 Karel Gardas <kgardas@objectsecurity.com>
* startup/bspstart.c: Initialize PCI bus in bsp_start function.
2005-07-18 Lars Munch <lars@segv.dk>
PR 813/networking

View File

@@ -33,6 +33,7 @@
#include <bsp.h>
#include <rtems/libio.h>
#include <rtems/libcsupport.h>
#include <rtems/pci.h>
#include <libcpu/cpuModel.h>
/*-------------------------------------------------------------------------+
@@ -134,6 +135,7 @@ void bsp_pretasking_hook(void)
+--------------------------------------------------------------------------*/
void bsp_start_default( void )
{
int pci_init_retval;
void Calibrate_loop_1ms(void);
/*
@@ -173,6 +175,15 @@ void bsp_start_default( void )
* Init rtems exceptions management
*/
rtems_exception_init_mngt();
/*
* init PCI Bios interface...
*/
pci_init_retval = pci_initialize();
if (pci_init_retval != PCIB_ERR_SUCCESS) {
printk("PCI bus: could not initialize PCI BIOS interface\n");
}
/*
* The following information is very useful when debugging.
*/