Changeset 36c3fbbd in rtems


Ignore:
Timestamp:
Mar 23, 2016, 8:57:10 AM (3 years ago)
Author:
Daniel Hellstrom <daniel@…>
Branches:
master
Children:
eb5a42f6
Parents:
9cb7e5d
git-author:
Daniel Hellstrom <daniel@…> (03/23/16 08:57:10)
git-committer:
Daniel Hellstrom <daniel@…> (03/06/17 06:54:55)
Message:

leon, grspw_pkt: coding style fixups

File:
1 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/sparc/shared/include/grspw_pkt.h

    r9cb7e5d r36c3fbbd  
    119119 */
    120120struct grspw_pkt {
    121         struct grspw_pkt *next;
    122         unsigned int pkt_id;    /* User assigned ID */
    123         unsigned short flags;   /* RX/TX Options */
     121        struct grspw_pkt *next; /* Next packet in list. NULL if last packet */
     122        unsigned int pkt_id;    /* User assigned ID (not touched by driver) */
     123        unsigned short flags;   /* RX/TX Options and status */
    124124        unsigned char reserved; /* Reserved, must be zero */
    125         unsigned char hlen;     /* Length of Header Buffer */
     125        unsigned char hlen;     /* Length of Header Buffer (only TX) */
    126126        unsigned int dlen;      /* Length of Data Buffer */
    127127        void *data;     /* 4-byte or byte aligned depends on HW */
    128         void *hdr;      /* 4-byte or byte aligned depends on HW */
     128        void *hdr;      /* 4-byte or byte aligned depends on HW (only TX) */
    129129};
    130130
     
    227227#define LINKSTS_MASK            0x1de
    228228
    229 
    230229/* grspw_tc_ctrl() options */
    231230#define TCOPTS_EN_RXIRQ 0x0001  /* Tick-Out IRQ */
     
    265264
    266265struct grspw_dma_config {
    267         int flags;
    268 
     266        int flags;              /* DMA config flags, see DMAFLAG_* options */
    269267        int rxmaxlen;           /* RX Max Packet Length */
    270268        int rx_irq_en_cnt;      /* Enable RX IRQ every cnt descriptors */
Note: See TracChangeset for help on using the changeset viewer.