Ignore:
Timestamp:
Apr 10, 2003, 4:39:52 PM (17 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
ee3afa2
Parents:
0d6849e7
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

    r0d6849e7 r2f73363  
    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.