diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2009-09-29 03:46:46 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2009-09-29 03:46:46 +0000 |
commit | 49c8f45f828a2c6c186eac1e13e0f499dd689787 (patch) | |
tree | c6f40bae054a7a5ce321308120a66bd3146b0502 /c | |
parent | 2009-09-29 Ralf Corsépius <ralf.corsepius@rtems.org> (diff) | |
download | rtems-49c8f45f828a2c6c186eac1e13e0f499dd689787.tar.bz2 |
2009-09-29 Ralf Corsépius <ralf.corsepius@rtems.org>
* pci/pci.c: Add prototypes for BusCountPCI(void), init_pci(void).
Diffstat (limited to 'c')
-rw-r--r-- | c/src/lib/libbsp/sparc/leon2/ChangeLog | 4 | ||||
-rw-r--r-- | c/src/lib/libbsp/sparc/leon2/pci/pci.c | 4 | ||||
-rw-r--r-- | c/src/lib/libbsp/sparc/leon3/ChangeLog | 4 | ||||
-rw-r--r-- | c/src/lib/libbsp/sparc/leon3/pci/pci.c | 4 |
4 files changed, 12 insertions, 4 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); } diff --git a/c/src/lib/libbsp/sparc/leon3/ChangeLog b/c/src/lib/libbsp/sparc/leon3/ChangeLog index 340af4e11a..dd4e00b01d 100644 --- a/c/src/lib/libbsp/sparc/leon3/ChangeLog +++ b/c/src/lib/libbsp/sparc/leon3/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/leon3/pci/pci.c b/c/src/lib/libbsp/sparc/leon3/pci/pci.c index 7e22aa50ac..da51b6bde5 100644 --- a/c/src/lib/libbsp/sparc/leon3/pci/pci.c +++ b/c/src/lib/libbsp/sparc/leon3/pci/pci.c @@ -498,7 +498,7 @@ done: -int init_pci() +int init_pci(void) { unsigned char ucSlotNumber, ucFnNumber, ucNumFuncs; unsigned char ucHeader; @@ -580,7 +580,7 @@ int init_pci() /* * Return the number of PCI busses in the system */ -unsigned char BusCountPCI() +unsigned char BusCountPCI(void) { return(ucMaxPCIBus+1); } |