Changeset 309cb3b5 in rtems


Ignore:
Timestamp:
Sep 7, 2007, 2:34:15 PM (12 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, master
Children:
13279f5d
Parents:
3734192
Message:

2007-09-07 Daniel Hellstrom <daniel@…>

  • console/console.c, leon_greth/leon_greth.c, leon_smc91111/leon_smc91111.c: Remove warnings.
Location:
c/src/lib/libbsp/sparc/leon3
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/sparc/leon3/ChangeLog

    r3734192 r309cb3b5  
     12007-09-07      Daniel Hellstrom <daniel@gaisler.com>
     2
     3        * console/console.c, leon_greth/leon_greth.c,
     4        leon_smc91111/leon_smc91111.c: Remove warnings.
     5
    162007-09-06      Joel Sherrill <joel.sherrill@OARcorp.com>
    27
  • c/src/lib/libbsp/sparc/leon3/console/console.c

    r3734192 r309cb3b5  
    9292
    9393int scan_uarts() {     
    94   unsigned int iobar, conf;
    9594  int i;
    9695        amba_apb_device apbuarts[LEON3_APBUARTS];
     
    101100    uarts = amba_find_apbslvs(&amba_conf,VENDOR_GAISLER,GAISLER_APBUART,apbuarts,LEON3_APBUARTS);
    102101    for(i=0; i<uarts; i++){
    103                         LEON3_Console_Uart[i] = apbuarts[i].start;
     102                        LEON3_Console_Uart[i] = (volatile LEON3_UART_Regs_Map *)apbuarts[i].start;
    104103                }
    105104    isinit = 1;
  • c/src/lib/libbsp/sparc/leon3/leon_greth/leon_greth.c

    r3734192 r309cb3b5  
    3333{
    3434  int device_found = 0;
    35   int i;
    36   unsigned int conf, iobar;
    3735  unsigned int base_addr = 0; /* avoid warnings */
    3836  unsigned int eth_irq = 0;   /* avoid warnings */
  • c/src/lib/libbsp/sparc/leon3/leon_smc91111/leon_smc91111.c

    r3734192 r309cb3b5  
    55#include <bsp.h>
    66#include <libchip/smc91111exp.h>
    7 #include <stdio.h>
     7#include <rtems/bspIo.h>
    88
    99
     
    3434  LEON3_IOPORT_Regs_Map *io;
    3535
    36   amba_apb_device apbpio, apbmctrl;
     36  amba_apb_device apbpio;
     37  amba_ahb_device apbmctrl;
    3738 
    38   if ( amba_find_ahbslv(&amba_conf,VENDOR_GAISLER,GAISLER_PIOPORT,&apbpio) != 1 ){
     39  if ( amba_find_apbslv(&amba_conf,VENDOR_GAISLER,GAISLER_PIOPORT,&apbpio) != 1 ){
    3940    printk("SMC9111_leon3: didn't find PIO\n");
    4041    return 0;
Note: See TracChangeset for help on using the changeset viewer.