Ignore:
Timestamp:
Apr 10, 2003, 4:40:25 PM (19 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Children:
7c608e8
Parents:
6ad36947
Message:

2003-04-10 Till Straumann <strauman@…>

PR 380/bsps

  • vmeUniverse/vmeUniverse.c, vmeUniverse/vmeUniverse.h: make printk format strings compliant with libcpu/printk. minor fixes and lazy init bugfix.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/shared/vmeUniverse/vmeUniverse.h

    r6ad36947 rb545552d  
    4040/* NOTE: DMA packet descriptors MUST be 32 byte aligned */
    4141typedef struct VmeUniverseDMAPacketRec_ {
    42         LERegister      dctl __attribute__((aligned(32)));
    43         LERegister      dtbc;
    44         LERegister      dla;
    45         LERegister      dummy1;
    46         LERegister      dva;
    47         LERegister      dummy2;
    48         LERegister      dccp;
    49         LERegister      dummy3;
     42        LERegister      dctl    __attribute__((aligned(32)));
     43        LERegister      dtbc    __attribute__((packed));
     44        LERegister      dla             __attribute__((packed));
     45        LERegister      dummy1  __attribute__((packed));
     46        LERegister      dva             __attribute__((packed));
     47        LERegister      dummy2  __attribute__((packed));
     48        LERegister      dcpp    __attribute__((packed));
     49        LERegister      dummy3  __attribute__((packed));
    5050} VmeUniverseDMAPacketRec, *VmeUniverseDMAPacket;
    5151
     
    150150#define         UNIV_REGOFF_DCPP        0x218
    151151/* these bits are only used in linked lists */
    152 # define        UNIV_DCCP_IMG_NULL      (1<<0)  /* last packet in list */
    153 # define        UNIV_DCCP_IMG_PROCESSED (1<<1)  /* packet processed */
     152# define        UNIV_DCPP_IMG_NULL      (1<<0)  /* last packet in list */
     153# define        UNIV_DCPP_IMG_PROCESSED (1<<1)  /* packet processed */
    154154
    155155/* DMA Xfer General Control/Status register */
Note: See TracChangeset for help on using the changeset viewer.