Changeset 7c3fb9b in mainline for uspace/drv/nic/rtl8139/driver.c
- 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)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
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
Note:
See TracChangeset
for help on using the changeset viewer.