diff options
author | Jennifer Averett <Jennifer.Averett@OARcorp.com> | 2003-08-05 19:51:33 +0000 |
---|---|---|
committer | Jennifer Averett <Jennifer.Averett@OARcorp.com> | 2003-08-05 19:51:33 +0000 |
commit | d14ba4884fac9bbd19bc4db62a00607b88f71706 (patch) | |
tree | be825d6808d0526b9300e503c26f6525024fbdd6 /c/src/lib/libbsp/powerpc/shared/pci/pci.c | |
parent | 2003-08-05 Till Strauman <strauman@slac.stanford.edu> (diff) | |
download | rtems-d14ba4884fac9bbd19bc4db62a00607b88f71706.tar.bz2 |
2003-08-05 Till Strauman <strauman@slac.stanford.edu>
PR 437/bsps
* irq/irc.c: calls to bspIo/printk must not use '%i' format which is
apparently not supported
* pci/pci.c: calls to bspIo/printk must not use '%i' format which is
apparently not supported
Diffstat (limited to 'c/src/lib/libbsp/powerpc/shared/pci/pci.c')
-rw-r--r-- | c/src/lib/libbsp/powerpc/shared/pci/pci.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/c/src/lib/libbsp/powerpc/shared/pci/pci.c b/c/src/lib/libbsp/powerpc/shared/pci/pci.c index 0661a8a60e..121ef3288a 100644 --- a/c/src/lib/libbsp/powerpc/shared/pci/pci.c +++ b/c/src/lib/libbsp/powerpc/shared/pci/pci.c @@ -21,6 +21,7 @@ #include <libcpu/io.h> #include <bsp/pci.h> +#include <rtems/bspIo.h> /* allow for overriding these definitions */ #ifndef PCI_CONFIG_ADDR @@ -388,7 +389,7 @@ void FixupPCI( struct _int_map *bspmap, int (*swizzler)(int,int) ) } if( int_name == -1 ) { - printk("pci : Unable to resolve device %d:%d w/ swizzled int pin %i to an interrupt_line.\n", pbus, pslot, int_pin ); + printk("pci : Unable to resolve device %d:%d w/ swizzled int pin %d to an interrupt_line.\n", pbus, pslot, int_pin ); } else { @@ -458,7 +459,7 @@ void FixupPCI( struct _int_map *bspmap, int (*swizzler)(int,int) ) } if( int_name == -1 ) { - printk("pci : Unable to resolve device %d:%d w/ swizzled int pin %i to an interrupt_line.\n", pbus, pslot, int_pin ); + printk("pci : Unable to resolve device %d:%d w/ swizzled int pin %d to an interrupt_line.\n", pbus, pslot, int_pin ); } else { @@ -499,7 +500,7 @@ void FixupPCI( struct _int_map *bspmap, int (*swizzler)(int,int) ) } else { - printk("pci : No bridge from bus %i towards root found\n", tbus ); + printk("pci : No bridge from bus %d towards root found\n", tbus ); goto donesearch; } |