2009-09-29 Ralf Corsépius <ralf.corsepius@rtems.org>

* pci/pci.c: Add prototypes for BusCountPCI(void), init_pci(void).
This commit is contained in:
Ralf Corsepius
2009-09-29 03:46:46 +00:00
parent 119778324c
commit 49c8f45f82
4 changed files with 12 additions and 4 deletions

View File

@@ -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.

View File

@@ -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);
}

View File

@@ -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.

View File

@@ -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);
}