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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • 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 */
Note: See TracChangeset for help on using the changeset viewer.