Changeset 1740467b in rtems


Ignore:
Timestamp:
Nov 4, 2002, 10:18:26 PM (18 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, master
Children:
145fc8c
Parents:
a3ed176c
Message:

2002-11-04 Joel Sherrill <joel@…>

  • console/console.c, network/network.c: Removed warnings.
Location:
c/src/lib/libbsp/powerpc/mbx8xx
Files:
3 edited

Legend:

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

    ra3ed176c r1740467b  
     12002-11-04      Joel Sherrill <joel@OARcorp.com>
     2
     3        * console/console.c, network/network.c: Removed warnings.
     4
    152002-11-04      Joel Sherrill <joel@OARcorp.com>
    26
  • c/src/lib/libbsp/powerpc/mbx8xx/console/console.c

    ra3ed176c r1740467b  
    861861  extern struct rtems_termios_tty *ttyp[];
    862862  rtems_libio_open_close_args_t *args = arg;
    863 #endif
    864863  static const rtems_termios_callbacks sccEPPCBugCallbacks = {
    865864    NULL,                               /* firstOpen */
     
    871870    0                                   /* outputUsesInterrupts */
    872871  };
     872#endif
    873873  static const rtems_termios_callbacks pollCallbacks = {
    874874    NULL,                               /* firstOpen */
  • c/src/lib/libbsp/powerpc/mbx8xx/network/network.c

    ra3ed176c r1740467b  
    4040#include <bsp/irq.h>
    4141
     42#include <sys/types.h>
     43#include <sys/socket.h>
     44#include <arpa/inet.h>
     45
    4246/*
    4347 * Number of interfaces supported by this driver
     
    757761         * Invalidate the buffer for this descriptor
    758762         */
    759         rtems_cache_invalidate_multiple_data_lines(rxBd->buffer, rxBd->length);
     763        rtems_cache_invalidate_multiple_data_lines((const void *)rxBd->buffer, rxBd->length);
    760764     
    761765      m = sc->rxMbuf[rxBdIndex];
     
    893897                         * Invalidate the buffer for this descriptor
    894898                         */
    895                         rtems_cache_invalidate_multiple_data_lines(rxBd->buffer, rxBd->length);
     899                        rtems_cache_invalidate_multiple_data_lines((const void *)rxBd->buffer, rxBd->length);
    896900     
    897901      m = sc->rxMbuf[rxBdIndex];
     
    10331037       * Flush the buffer for this descriptor
    10341038       */
    1035       rtems_cache_flush_multiple_data_lines(txBd->buffer, txBd->length);
     1039      rtems_cache_flush_multiple_data_lines((const void *)txBd->buffer, txBd->length);
    10361040     
    10371041      sc->txMbuf[sc->txBdHead] = m;
     
    15481552  int unitNumber;
    15491553  char *unitName;
     1554#if NVRAM_CONFIGURE == 1
    15501555  char *pAddr;
    15511556  unsigned long addr;
     1557#endif
    15521558
    15531559        /*
Note: See TracChangeset for help on using the changeset viewer.