Changeset cdb717e in rtems


Ignore:
Timestamp:
Jun 22, 2005, 6:53:10 PM (15 years ago)
Author:
Eric Norum <WENorum@…>
Branches:
4.10, 4.11, 4.8, 4.9, master
Children:
81291a0
Parents:
f077cc96
Message:

Minor tweak to make it easier to insert some code to test realignment.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/m68k/uC5282/network/network.c

    rf077cc96 rcdb717e  
    453453    volatile mcf5282BufferDescriptor_t *firstTxBd, *txBd;
    454454    uint16_t status;
    455     int offset;
    456455    int nAdded;
    457456
     
    517516        if (m->m_len) {
    518517            char *p = mtod(m, char *);
    519             if ((offset = (int)p & 0x3) == 0) {
     518            int offset = (int)p & 0x3;
     519            if (offset == 0) {
    520520                txBd->buffer = p;
    521521                txBd->length = m->m_len;
Note: See TracChangeset for help on using the changeset viewer.