Changeset 582a0b8 in mainline for uspace/drv/nic/ne2k/dp8390.c
- Timestamp:
- 2017-05-08T19:20:39Z (8 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- d2c8533
- Parents:
- 73db198
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/nic/ne2k/dp8390.c
r73db198 r582a0b8 59 59 #include <stdio.h> 60 60 #include <ddi.h> 61 #include <thread.h> 61 62 #include "dp8390.h" 62 63 … … 171 172 /* Reset the ethernet card */ 172 173 uint8_t val = pio_read_8(ne2k->port + NE2K_RESET); 173 usleep(2000);174 thread_usleep(2000); 174 175 pio_write_8(ne2k->port + NE2K_RESET, val); 175 usleep(2000);176 thread_usleep(2000); 176 177 177 178 /* Reset the DP8390 */
Note:
See TracChangeset
for help on using the changeset viewer.