Ignore:
Timestamp:
Mar 27, 2010, 3:00:43 PM (10 years ago)
Author:
Thomas Doerfler <Thomas.Doerfler@…>
Branches:
4.10, 4.11, master
Children:
0acc9af
Parents:
ff8dd26
Message:

removed warnings

Location:
c/src/lib/libbsp/powerpc/mpc55xxevb
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/powerpc/mpc55xxevb/ChangeLog

    rff8dd26 r4f5d1c9f  
     12010-03-27      Thomas Doerfler <Thomas.Doerfler@embedded-brains.de>
     2
     3        * network/smsc9218i.c tests/tests.c: Removed warnings
     4
    152010-03-25      Thomas Doerfler <Thomas.Doerfler@embedded-brains.de>
    26
  • c/src/lib/libbsp/powerpc/mpc55xxevb/network/smsc9218i.c

    rff8dd26 r4f5d1c9f  
    4949#include <bsp/irq.h>
    5050#include <bsp/utility.h>
     51#include <libcpu/powerpc-utility.h>
    5152#include <bsp/smsc9218i.h>
    5253
     
    294295}
    295296
     297#if defined(DEBUG)
    296298static void smsc9218i_register_dump(volatile smsc9218i_registers *regs)
    297299{
     
    403405  printf("phy: physcsr: 0x%08" PRIx32 "\n", smsc9218i_phy_read(regs, SMSC9218I_PHY_PHYSCSR));
    404406}
     407#endif
    405408
    406409static void smsc9218i_interrupt_handler(void *arg)
     
    726729}
    727730
     731#if defined(DEBUG)
    728732static void smsc9218i_transmit_job_dump(
    729733  smsc9218i_transmit_job_control *jc,
     
    784788  );
    785789}
     790#endif /* defined(DEBUG) */
    786791
    787792static struct mbuf *smsc9218i_next_transmit_fragment(
     
    12511256}
    12521257
     1258#if defined(DEBUG)
    12531259static void smsc9218i_test_macros(void)
    12541260{
     
    12891295  }
    12901296}
     1297#endif
    12911298
    12921299static void smsc9218i_set_mac_address(
     
    14501457    smsc9218i_reset_signal(true);
    14511458
     1459#if defined(DEBUG)
    14521460    /* Register dump */
    14531461    smsc9218i_register_dump(regs);
     1462#endif
    14541463
    14551464    /* Set hardware configuration */
  • c/src/lib/libbsp/powerpc/mpc55xxevb/tests/tests.c

    rff8dd26 r4f5d1c9f  
    2222
    2323#include <rtems/irq.h>
    24 
    2524#include <mpc55xx/regs.h>
    2625#include <mpc55xx/mpc55xx.h>
     
    2827#include <mpc55xx/edma.h>
    2928
     29#include <bsp/irq-generic.h>
     30
    3031#include <libchip/spi-sd-card.h>
    3132
     
    3839
    3940#include <rtems/status-checks.h>
     41
     42#undef USE_DSPI_READER_WRITER
    4043
    4144static rtems_driver_address_table test_mpc55xx_drv_ops = {
     
    7578static unsigned char test_mpc55xx_dspi_reader_inbuf [MPC55XX_TEST_DSPI_BUFSIZE_CACHE_PROOF] __attribute__ ((aligned (32)));
    7679
     80#if defined(USE_DSPI_READER_WRITER)
    7781static rtems_task test_mpc55xx_dspi_writer( rtems_task_argument arg)
    7882{
     
    201205        RTEMS_CHECK_SC_TASK( sc, "rtems_task_delete");
    202206}
     207#endif /* defined(USE_DSPI_READER_WRITER) */
    203208
    204209rtems_task test_sd_card( rtems_task_argument arg);
     
    285290        RTEMS_CHECK_SC( sc, "rtems_semaphore_create");
    286291
    287         #if 0
     292#if defined(USE_DSPI_READER_WRITER)
    288293        rtems_id writer_task_id;
    289294        rtems_id reader_task_id;
     
    312317        sc = rtems_task_start( reader_task_id, test_mpc55xx_dspi_reader, 0);
    313318        RTEMS_CHECK_SC( sc, "rtems_task_start");
    314         #endif
     319#endif
    315320
    316321        rtems_id sd_card_task_id;
Note: See TracChangeset for help on using the changeset viewer.