Changeset f7b46db in rtems


Ignore:
Timestamp:
06/16/00 15:32:50 (22 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
e8e95cdb
Parents:
3207f0a
Message:

Patch rtems-rc-20000616-1-cvs.diff from Ralf Corsepius
<corsepiu@…> to use i386 instead of i386 and i386
to be able to compile this file with -ansi.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • c/src/libchip/network/dec21140.c

    r3207f0a rf7b46db  
    3636 */
    3737
    38 #if defined(__i386)
     38#if defined(__i386__)
    3939  #define DEC21140_SUPPORTED
    4040#endif
     
    4646#if defined(DEC21140_SUPPORTED)
    4747#include <bsp.h>
    48 #if defined(i386)
     48#if defined(__i386__)
    4949#include <pcibios.h>
    5050#endif
     
    7272#include <netinet/if_ether.h>
    7373 
    74 #if defined(i386)
     74#if defined(__i386__)
    7575#include <irq.h>
    7676#endif
     
    400400  cp += (CPU_CACHE_ALIGNMENT_FOR_BUFFER - (int)cp)
    401401         & (CPU_CACHE_ALIGNMENT_FOR_BUFFER - 1);
    402 #if defined(__i386)
     402#if defined(__i386__)
    403403#ifdef PCI_BRIDGE_DOES_NOT_ENSURE_CACHE_COHERENCY_FOR_DMA
    404404  if (_CPU_is_paging_enabled())
     
    782782         * First, find a DEC board
    783783         */
    784 #if defined(__i386)
     784#if defined(__i386__)
    785785        int signature;
    786786        int value;
     
    858858         * Process options
    859859         */
    860 #if defined(__i386)
     860#if defined(__i386__)
    861861
    862862    /* the 21143 chip must be enabled before it can be accessed */
     
    917917            rombuf.s[i] = eeget16(sc->base+memCSR9, i);
    918918          }
    919 #if defined(__i386)
     919#if defined(__i386__)
    920920          for (i=0 ; i<(ETHER_ADDR_LEN/2); i++){
    921921            sc->arpcom.ac_enaddr[2*i]   = rombuf.c[20+2*i+1];
Note: See TracChangeset for help on using the changeset viewer.