Ignore:
Timestamp:
Nov 30, 2009, 5:09:41 AM (11 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.10, 4.11, 5, master
Children:
023f1dd9
Parents:
ac7af4a
Message:

Whitespace removal.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libcpu/mips/au1x00/include/au1x00.h

    rac7af4a r359e537  
    44 * Copyright (c) 2005 by Cogent Computer Systems
    55 * Written by Jay Monkman <jtm@lopingdog.com>
    6  *     
     6 *
    77 *  The license and distribution terms for this file may be
    88 *  found in the file LICENSE in this distribution or at
     
    190190
    191191/*
    192  * SDCS0 - 
    193  * SDCS1 - 
    194  * SDCS2 - 
     192 * SDCS0 -
     193 * SDCS1 -
     194 * SDCS2 -
    195195 */
    196196#define MEM_SDMODE0             0x00552229
     
    198198#define MEM_SDMODE2             0x00552229
    199199
    200 #define MEM_SDADDR0             0x001003F8 
     200#define MEM_SDADDR0             0x001003F8
    201201#define MEM_SDADDR1             0x001023F8
    202202#define MEM_SDADDR2             0x001043F8
     
    246246
    247247
    248 #define AU1X00_SYS_TOYTRIM(x)    (*(volatile uint32_t*)(x + 0x00))   
     248#define AU1X00_SYS_TOYTRIM(x)    (*(volatile uint32_t*)(x + 0x00))
    249249#define AU1X00_SYS_TOYWRITE(x)   (*(volatile uint32_t*)(x + 0x04))
    250250#define AU1X00_SYS_TOYMATCH0(x)  (*(volatile uint32_t*)(x + 0x08))
     
    316316    uint32_t _rsv1;
    317317} au1x00_macdma_rx_t;
    318                                            
     318
    319319
    320320typedef struct {
     
    324324    uint32_t _rsv0;
    325325} au1x00_macdma_tx_t;
    326                                            
     326
    327327#define AU1X00_MAC_CTRL_RA                (bit(31))
    328328#define AU1X00_MAC_CTRL_EM                (bit(30))
     
    393393
    394394#define AU1X00_MAC_DMA_TXSTAT_PR          (bit(31))
    395 #define AU1X00_MAC_DMA_TXSTAT_CC_MASK     (0xf << 10)     
     395#define AU1X00_MAC_DMA_TXSTAT_CC_MASK     (0xf << 10)
    396396#define AU1X00_MAC_DMA_TXSTAT_LO          (bit(9))
    397397#define AU1X00_MAC_DMA_TXSTAT_DF          (bit(8))
     
    426426} au1x00_uart_t;
    427427
    428 extern au1x00_uart_t *uart0;   
    429 extern au1x00_uart_t *uart3;   
     428extern au1x00_uart_t *uart0;
     429extern au1x00_uart_t *uart3;
    430430
    431431/*
Note: See TracChangeset for help on using the changeset viewer.