Changeset 5f97ef44 in mainline for uspace/drv/nic/ne2k/dp8390.c
- Timestamp:
- 2018-07-13T14:10:15Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- e3787a0
- Parents:
- 9912f49
- git-author:
- Jiří Zárevúcky <jiri.zarevucky@…> (2018-07-13 14:08:57)
- git-committer:
- Jiří Zárevúcky <jiri.zarevucky@…> (2018-07-13 14:10:15)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/nic/ne2k/dp8390.c
r9912f49 r5f97ef44 172 172 /* Reset the ethernet card */ 173 173 uint8_t val = pio_read_8(ne2k->port + NE2K_RESET); 174 async_usleep(2000);174 fibril_usleep(2000); 175 175 pio_write_8(ne2k->port + NE2K_RESET, val); 176 async_usleep(2000);176 fibril_usleep(2000); 177 177 178 178 /* Reset the DP8390 */
Note:
See TracChangeset
for help on using the changeset viewer.