Changeset 84239b1 in mainline for uspace/drv/nic
- Timestamp:
- 2018-03-11T19:39:11Z (8 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- f3d47c97
- Parents:
- 850fd32
- Location:
- uspace/drv/nic
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/nic/e1k/e1k.c
r850fd32 r84239b1 544 544 fibril_mutex_unlock(&e1000->rx_lock); 545 545 return rc; 546 } ;546 } 547 547 548 548 /** Write receive address to RA registr … … 2281 2281 fibril_mutex_unlock(&e1000->rx_lock); 2282 2282 return EOK; 2283 } ;2283 } 2284 2284 2285 2285 /** Set card MAC address -
uspace/drv/nic/rtl8169/driver.c
r850fd32 r84239b1 34 34 #include <byteorder.h> 35 35 #include <libarch/barrier.h> 36 #include <stdbool.h> 36 37 37 38 #include <as.h> … … 674 675 unsigned int i = first; 675 676 676 for (;;) {677 while (true) { 677 678 descr = &rtl8169->rx_ring[i]; 678 679 buff_phys = rtl8169->rx_buff_phys + (BUFFER_SIZE * i); … … 991 992 tail = rtl8169->rx_tail; 992 993 993 for (;;) {994 while (true) { 994 995 descr = &rtl8169->rx_ring[tail]; 995 996
Note:
See TracChangeset
for help on using the changeset viewer.