diff options
Diffstat (limited to 'c/src/lib/libbsp/sparc/leon2')
-rw-r--r-- | c/src/lib/libbsp/sparc/leon2/ChangeLog | 4 | ||||
-rw-r--r-- | c/src/lib/libbsp/sparc/leon2/pci/pci.c | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/c/src/lib/libbsp/sparc/leon2/ChangeLog b/c/src/lib/libbsp/sparc/leon2/ChangeLog index a3d17b2652..14de17470a 100644 --- a/c/src/lib/libbsp/sparc/leon2/ChangeLog +++ b/c/src/lib/libbsp/sparc/leon2/ChangeLog @@ -1,3 +1,7 @@ +2009-09-29 Ralf Corsépius <ralf.corsepius@rtems.org> + + * pci/pci.c: Add prototypes for BusCountPCI(void), init_pci(void). + 2009-09-15 Ralf Corsépius <ralf.corsepius@rtems.org> * configure.ac: Remove RTEMS_BSP_BOOTCARD_OPTIONS. diff --git a/c/src/lib/libbsp/sparc/leon2/pci/pci.c b/c/src/lib/libbsp/sparc/leon2/pci/pci.c index 8394960072..4d7fe1771a 100644 --- a/c/src/lib/libbsp/sparc/leon2/pci/pci.c +++ b/c/src/lib/libbsp/sparc/leon2/pci/pci.c @@ -589,7 +589,7 @@ done: /* * This routine determines the maximum bus number in the system */ -int init_pci() +int init_pci(void) { unsigned char ucSlotNumber, ucFnNumber, ucNumFuncs; unsigned char ucHeader; @@ -668,7 +668,7 @@ int init_pci() /* * Return the number of PCI busses in the system */ -unsigned char BusCountPCI() +unsigned char BusCountPCI(void) { return(ucMaxPCIBus+1); } |