Changeset 1f25c77 in rtems


Ignore:
Timestamp:
Oct 9, 2011, 3:37:53 PM (10 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.11, 5, master
Children:
a32a86e
Parents:
764e0a75
Message:

2011-10-09 Ralf Corsépius <ralf.corsepius@…>

  • libchip/network/greth.c, libchip/network/open_eth.c libchip/network/sonic.c: Eliminate evil typecasts.
  • libchip/network/greth.h, libchip/network/open_eth.h, libchip/network/sonic.h: Use void* for addresses.
Location:
c/src
Files:
7 edited

Legend:

Unmodified
Added
Removed
  • c/src/ChangeLog

    r764e0a75 r1f25c77  
     12011-10-09      Ralf Corsépius <ralf.corsepius@rtems.org>
     2
     3        * libchip/network/greth.c, libchip/network/open_eth.c
     4        libchip/network/sonic.c: Eliminate evil typecasts.
     5        * libchip/network/greth.h, libchip/network/open_eth.h,
     6        libchip/network/sonic.h: Use void* for addresses.
     7
    182011-08-30      Sebastian Huber <sebastian.huber@embedded-brains.de>
    29
  • c/src/libchip/network/greth.c

    r764e0a75 r1f25c77  
    969969
    970970    sc->acceptBroadcast = !config->ignore_broadcast;
    971     sc->regs = (void *) chip->base_address;
     971    sc->regs = chip->base_address;
    972972    sc->vector = chip->vector;
    973973    sc->txbufs = chip->txd_count;
  • c/src/libchip/network/greth.h

    r764e0a75 r1f25c77  
    1818
    1919typedef struct {
    20   uint32_t              base_address;
     20  void                 *base_address;
    2121  uint32_t              vector;
    2222  uint32_t              txd_count;
  • c/src/libchip/network/open_eth.c

    r764e0a75 r1f25c77  
    735735
    736736    sc->acceptBroadcast = !config->ignore_broadcast;
    737     sc->regs = (void *) chip->base_address;
     737    sc->regs = chip->base_address;
    738738    sc->vector = chip->vector;
    739739    sc->txbufs = chip->txd_count;
  • c/src/libchip/network/open_eth.h

    r764e0a75 r1f25c77  
    99
    1010typedef struct {
    11   uint32_t                base_address;
     11  void                   *base_address;
    1212  uint32_t                vector;
    1313  uint32_t                txd_count;
  • c/src/libchip/network/sonic.c

    r764e0a75 r1f25c77  
    15911591  sc->acceptBroadcast = !config->ignore_broadcast;
    15921592
    1593   sc->sonic = (void *) chip->base_address;
     1593  sc->sonic = chip->base_address;
    15941594  sc->vector = chip->vector;
    15951595  sc->dcr_value = chip->dcr_value;
  • c/src/libchip/network/sonic.h

    r764e0a75 r1f25c77  
    8282
    8383typedef struct {
    84   uint32_t                base_address;
     84  void                   *base_address;
    8585  uint32_t                vector;
    8686  uint32_t                dcr_value;
Note: See TracChangeset for help on using the changeset viewer.