Changeset 7c3fb9b in mainline for uspace/drv/nic


Ignore:
Timestamp:
2018-05-17T08:29:01Z (7 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
6ff23ff
Parents:
fac0ac7
git-author:
Jiri Svoboda <jiri@…> (2018-05-16 17:28:17)
git-committer:
Jiri Svoboda <jiri@…> (2018-05-17 08:29:01)
Message:

Fix block comment formatting (ccheck).

Location:
uspace/drv/nic
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/nic/ne2k/ne2k.c

    rfac0ac7 r7c3fb9b  
    279279                return EINVAL;
    280280        }
    281         /* Note: some frame with previous physical address may slip to NIL here
     281        /*
     282         * Note: some frame with previous physical address may slip to NIL here
    282283         * (for a moment the filtering is not exact), but ethernet should be OK with
    283284         * that. Some frames may also be lost, but this is not a problem.
  • uspace/drv/nic/rtl8139/driver.c

    rfac0ac7 r7c3fb9b  
    500500}
    501501
    502 /* Reset receiver
     502/*
     503 * Reset receiver
    503504 *
    504505 * Use in the case of receiver error (lost in the rx_buff)
     
    604605                rx_offset = ALIGN_UP(rx_offset + size + RTL_FRAME_HEADER_SIZE, 4);
    605606
    606                 /* Write lesser value to prevent overflow into unread frame
     607                /*
     608                 * Write lesser value to prevent overflow into unread frame
    607609                 * (the recomendation from the RealTech rtl8139 programming guide)
    608610                 */
     
    793795        }
    794796
    795         /* Check transmittion interrupts first to allow transmit next frames
     797        /*
     798         * Check transmittion interrupts first to allow transmit next frames
    796799         * sooner
    797800         */
     
    20972100                rtl8139->int_mask = INT_TIME_OUT;
    20982101
    2099                 /* Force timer interrupt start be writing nonzero value to timer
     2102                /*
     2103                 * Force timer interrupt start be writing nonzero value to timer
    21002104                 * interrutp register (should be small to prevent big delay)
    21012105                 * Read TCTR to reset timer counter
  • uspace/drv/nic/rtl8139/general.c

    rfac0ac7 r7c3fb9b  
    6565        size_t rem_size = data_size - to_src_end;
    6666
    67         /* First copy the end part of the data (from the source begining),
     67        /*
     68         * First copy the end part of the data (from the source begining),
    6869         * then copy the begining
    6970         */
Note: See TracChangeset for help on using the changeset viewer.