From 71319f7768b2a19af58444c5443be304cd3904b3 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Thu, 18 Aug 2005 22:24:46 +0000 Subject: 2005-08-18 Karel Gardas * startup/bspstart.c: Initialize PCI bus in bsp_start function. --- c/src/lib/libbsp/i386/pc386/ChangeLog | 8 ++++++++ c/src/lib/libbsp/i386/pc386/startup/bspstart.c | 11 +++++++++++ 2 files changed, 19 insertions(+) (limited to 'c') diff --git a/c/src/lib/libbsp/i386/pc386/ChangeLog b/c/src/lib/libbsp/i386/pc386/ChangeLog index 97a48fa3a4..7347d08c9c 100644 --- a/c/src/lib/libbsp/i386/pc386/ChangeLog +++ b/c/src/lib/libbsp/i386/pc386/ChangeLog @@ -1,3 +1,11 @@ +2005-08-18 Karel Gardas + + * startup/bspstart.c: Initialize PCI bus in bsp_start function. + +2005-08-18 Karel Gardas + + * startup/bspstart.c: Initialize PCI bus in bsp_start function. + 2005-07-18 Lars Munch PR 813/networking diff --git a/c/src/lib/libbsp/i386/pc386/startup/bspstart.c b/c/src/lib/libbsp/i386/pc386/startup/bspstart.c index 6b3997d638..d0fe5cd723 100644 --- a/c/src/lib/libbsp/i386/pc386/startup/bspstart.c +++ b/c/src/lib/libbsp/i386/pc386/startup/bspstart.c @@ -33,6 +33,7 @@ #include #include #include +#include #include /*-------------------------------------------------------------------------+ @@ -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. */ -- cgit v1.2.3