forked from Imagelibrary/rtems
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:
@@ -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.
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
|
||||
@@ -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.
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user