Changeset 51b9899 in rtems


Ignore:
Timestamp:
Mar 9, 2004, 10:08:33 AM (16 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.10, 4.11, 4.8, 4.9, master
Children:
2494cba
Parents:
5569cec
Message:

2004-03-09 Ralf Corsepius <corsepiu@…>

  • libchip/network/dec21140.c: Use PPC instead of PPC. Cosmetics.
Location:
c/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • c/src/ChangeLog

    r5569cec r51b9899  
     12004-03-09      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
     2
     3        * libchip/network/dec21140.c: Use __PPC__ instead of __PPC.
     4        Cosmetics.
     5
    162004-03-09      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
    27
  • c/src/libchip/network/dec21140.c

    r5569cec r51b9899  
    8787#include <irq.h>
    8888#endif
    89 #if defined(__PPC)
     89#if defined(__PPC__)
    9090#include <bsp/irq.h>
    9191#endif
     
    153153
    154154#define RESET_CHIP   0x00000001
    155 #if defined(__PPC)
     155#if defined(__PPC__)
    156156#define CSR0_MODE    0x0030e002   /* 01b08000 */
    157157#else
     
    233233
    234234
    235 #if defined(__PPC)
     235#if defined(__PPC__)
    236236#define phys_to_bus(address) ((unsigned int)((address)) + PCI_DRAM_OFFSET)
    237237#define bus_to_phys(address) ((unsigned int)((address)) - PCI_DRAM_OFFSET)
     
    10161016   unsigned int deviceId;
    10171017#endif
    1018 #if defined(__PPC)
     1018#if defined(__PPC__)
    10191019   int          pbus, pdev, pfun;
    10201020   int          tmp;
     
    10651065   }
    10661066#endif 
    1067 #if defined(__PPC)
     1067#if defined(__PPC__)
    10681068   /*
    10691069    * Find the board
     
    11561156   cvalue = interrupt;
    11571157#endif
    1158 #if defined(__PPC)
     1158#if defined(__PPC__)
    11591159   (void)pci_read_config_dword(pbus,
    11601160                               pdev,
     
    11881188   */
    11891189
    1190 #if defined(__PPC)
     1190#if defined(__PPC__)
    11911191   pci_write_config_word(pbus, pdev, pfun,
    11921192                         PCI_COMMAND,
     
    12331233      } 
    12341234#endif
    1235 #if defined(__PPC)
     1235#if defined(__PPC__)
    12361236      memcpy (sc->arpcom.ac_enaddr, rombuf.c+20, ETHER_ADDR_LEN);
    12371237#endif
     
    12931293
    12941294#endif /* DEC21140_SUPPORTED */
    1295 
    1296 
    1297 /* eof */
Note: See TracChangeset for help on using the changeset viewer.