diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2005-05-10 02:47:20 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2005-05-10 02:47:20 +0000 |
commit | 91df4886d60b63b49074e1209db52f6041ffce12 (patch) | |
tree | 89847b98f1723d15994d21ddee9f282adde50ab5 /c/src/lib/libbsp/powerpc | |
parent | Eliminate {un|}signed{8|16|32}. (diff) | |
download | rtems-91df4886d60b63b49074e1209db52f6041ffce12.tar.bz2 |
Eliminate {un|}signed{8|16|32}.
Eliminate u32.
Diffstat (limited to 'c/src/lib/libbsp/powerpc')
-rw-r--r-- | c/src/lib/libbsp/powerpc/shared/bootloader/pci.c | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/c/src/lib/libbsp/powerpc/shared/bootloader/pci.c b/c/src/lib/libbsp/powerpc/shared/bootloader/pci.c index ef572b3949..c6d836c5ba 100644 --- a/c/src/lib/libbsp/powerpc/shared/bootloader/pci.c +++ b/c/src/lib/libbsp/powerpc/shared/bootloader/pci.c @@ -27,9 +27,6 @@ #include <string.h> -typedef unsigned int u32; - - /* #define DEBUG @@ -708,7 +705,7 @@ void pci_read_bases(struct pci_dev *dev, unsigned int howmany) #define REG (PCI_BASE_ADDRESS_0 + (reg<<2)) u_short cmd; - u32 l, ml; + uint32_t l, ml; pci_read_config_word(dev, PCI_COMMAND, &cmd); for(reg=0; reg<howmany; reg=nextreg) @@ -1194,12 +1191,12 @@ static void recursive_bus_reconfigure( struct pci_bus *pbus ) pcibios_write_config_word(pdev->bus->number, pdev->devfn, PCI_BRIDGE_CONTROL, - (unsigned16)( 0 )); + (uint16_t)( 0 )); pcibios_write_config_word(pdev->bus->number, pdev->devfn, PCI_COMMAND, - (unsigned16)( PCI_COMMAND_IO | + (uint16_t)( PCI_COMMAND_IO | PCI_COMMAND_MEMORY | PCI_COMMAND_MASTER )); #endif |