summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/powerpc/score603e/PCI_bus/PCI.c
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2004-04-21 10:43:04 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2004-04-21 10:43:04 +0000
commit6128a4aa5e791ed4e0a655bfd346a52d92da7883 (patch)
treeaf53ca3f67ce405b6fbc6c98399c8e0c87e01a9e /c/src/lib/libbsp/powerpc/score603e/PCI_bus/PCI.c
parent2004-04-20 Ralf Corsepius <ralf_corsepius@rtems.org> (diff)
downloadrtems-6128a4aa5e791ed4e0a655bfd346a52d92da7883.tar.bz2
Remove stray white spaces.
Diffstat (limited to 'c/src/lib/libbsp/powerpc/score603e/PCI_bus/PCI.c')
-rw-r--r--c/src/lib/libbsp/powerpc/score603e/PCI_bus/PCI.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/c/src/lib/libbsp/powerpc/score603e/PCI_bus/PCI.c b/c/src/lib/libbsp/powerpc/score603e/PCI_bus/PCI.c
index 9a3f6b79d4..feb01efb96 100644
--- a/c/src/lib/libbsp/powerpc/score603e/PCI_bus/PCI.c
+++ b/c/src/lib/libbsp/powerpc/score603e/PCI_bus/PCI.c
@@ -37,7 +37,7 @@ void PCI_bus_delay ()
void PCI_bus_write(
volatile uint32_t * _addr, /* IN */
uint32_t _data /* IN */
-)
+)
{
_data = Convert_Endian_32( _data );
*_addr = _data;
@@ -48,7 +48,7 @@ uint32_t PCI_bus_read(
)
{
uint32_t data;
-
+
data = *_addr;
data = Convert_Endian_32( data );
return data;
@@ -68,7 +68,7 @@ uint32_t Read_pci_device_register(
* Write the PCI configuration address
*/
PCI_bus_write( (volatile uint32_t*)SCORE603E_PCI_IO_CFG_ADDR, address );
-
+
/*
* Delay needed when running out of DRAM
*/
@@ -78,20 +78,20 @@ uint32_t Read_pci_device_register(
* read data
*/
data = PCI_bus_read( (volatile uint32_t*)SCORE603E_PCI_IO_CFG_DATA );
-
+
return data;
}
void Write_pci_device_register(
uint32_t address,
- uint32_t data
+ uint32_t data
)
{
/*
* Write the PCI configuration address
*/
PCI_bus_write( (volatile uint32_t*)SCORE603E_PCI_IO_CFG_ADDR, address );
-
+
/*
* Delay needed when running out of DRAM
*/