Changeset 582a0b8 in mainline for uspace/drv/nic/rtl8139
- Timestamp:
- 2017-05-08T19:20:39Z (9 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- d2c8533
- Parents:
- 73db198
- Location:
- uspace/drv/nic/rtl8139
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/nic/rtl8139/driver.c
r73db198 r582a0b8 30 30 #include <errno.h> 31 31 #include <align.h> 32 #include <thread.h> 32 33 #include <byteorder.h> 33 34 #include <libarch/barrier.h> … … 471 472 memory_barrier(); 472 473 while(pio_read_8(io_base + CR) & CR_RST) { 473 usleep(1);474 thread_usleep(1); 474 475 read_barrier(); 475 476 } -
uspace/drv/nic/rtl8139/general.c
r73db198 r582a0b8 35 35 36 36 #include <mem.h> 37 #include <unistd.h>38 37 #include <errno.h> 39 38 #include <stdint.h> -
uspace/drv/nic/rtl8139/general.h
r73db198 r582a0b8 35 35 #define RTL8139_GENERAL_H_ 36 36 37 #include <unistd.h> 37 #include <stddef.h> 38 #include <time.h> 38 39 39 40 /** Number of microseconds in second */
Note:
See TracChangeset
for help on using the changeset viewer.
