Changeset bfa3a3e in rtems


Ignore:
Timestamp:
May 31, 2010, 12:20:17 PM (9 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.10, 4.11, master
Children:
8593651
Parents:
87347dd
Message:

2010-05-31 Ralf Corsépius <ralf.corsepius@…>

  • libchip/network/i82586.c: Use int32_t instead of int for 16bit-target compliance.
Location:
c/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • c/src/ChangeLog

    r87347dd rbfa3a3e  
    112010-05-31      Ralf Corsépius <ralf.corsepius@rtems.org>
    22
     3        * libchip/network/i82586.c:
     4        Use int32_t instead of int for 16bit-target compliance.
    35        * libchip/network/open_eth.c:
    46        Misc. changes to make code 16bit-target compliant.
  • c/src/libchip/network/i82586.c

    r87347dd rbfa3a3e  
    15091509ie_run_tdr(struct ie_softc *sc, int cmd)
    15101510{
    1511   int result;
     1511  uint32_t result;
    15121512
    15131513  setup_simple_command(sc, IE_CMD_TDR, cmd);
     
    15311531    printf("%s: transceiver problem\n", sc->arpcom.ac_if.if_name);
    15321532  else if (result & IE_TDR_OPEN)
    1533     printf("%s: TDR detected incorrect termination %d clocks away\n",
     1533    printf("%s: TDR detected incorrect termination %" PRId32 " clocks away\n",
    15341534           sc->arpcom.ac_if.if_name, result & IE_TDR_TIME);
    15351535  else if (result & IE_TDR_SHORT)
    1536     printf("%s: TDR detected a short circuit %d clocks away\n",
     1536    printf("%s: TDR detected a short circuit %" PRId32 " clocks away\n",
    15371537           sc->arpcom.ac_if.if_name, result & IE_TDR_TIME);
    15381538  else
    1539     printf("%s: TDR returned unknown status 0x%x\n",
     1539    printf("%s: TDR returned unknown status 0x%" PRIx32 "\n",
    15401540           sc->arpcom.ac_if.if_name, result);
    15411541}
Note: See TracChangeset for help on using the changeset viewer.