Changeset 7c3fb9b in mainline for uspace/drv/nic
- Timestamp:
- 2018-05-17T08:29:01Z (7 years ago)
- 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)
- Location:
- uspace/drv/nic
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/nic/ne2k/ne2k.c
rfac0ac7 r7c3fb9b 279 279 return EINVAL; 280 280 } 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 282 283 * (for a moment the filtering is not exact), but ethernet should be OK with 283 284 * that. Some frames may also be lost, but this is not a problem. -
uspace/drv/nic/rtl8139/driver.c
rfac0ac7 r7c3fb9b 500 500 } 501 501 502 /* Reset receiver 502 /* 503 * Reset receiver 503 504 * 504 505 * Use in the case of receiver error (lost in the rx_buff) … … 604 605 rx_offset = ALIGN_UP(rx_offset + size + RTL_FRAME_HEADER_SIZE, 4); 605 606 606 /* Write lesser value to prevent overflow into unread frame 607 /* 608 * Write lesser value to prevent overflow into unread frame 607 609 * (the recomendation from the RealTech rtl8139 programming guide) 608 610 */ … … 793 795 } 794 796 795 /* Check transmittion interrupts first to allow transmit next frames 797 /* 798 * Check transmittion interrupts first to allow transmit next frames 796 799 * sooner 797 800 */ … … 2097 2100 rtl8139->int_mask = INT_TIME_OUT; 2098 2101 2099 /* Force timer interrupt start be writing nonzero value to timer 2102 /* 2103 * Force timer interrupt start be writing nonzero value to timer 2100 2104 * interrutp register (should be small to prevent big delay) 2101 2105 * Read TCTR to reset timer counter -
uspace/drv/nic/rtl8139/general.c
rfac0ac7 r7c3fb9b 65 65 size_t rem_size = data_size - to_src_end; 66 66 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), 68 69 * then copy the begining 69 70 */
Note:
See TracChangeset
for help on using the changeset viewer.