Changes in uspace/drv/nic/e1k/e1k.c [8974294:3f74275] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/nic/e1k/e1k.c
r8974294 r3f74275 365 365 if (ctrl & CTRL_SLU) { 366 366 ctrl &= ~(CTRL_SLU); 367 E1000_REG_WRITE(e1000, E1000_CTRL, ctrl);368 367 fibril_mutex_unlock(&e1000->ctrl_lock); 369 370 368 thread_usleep(10); 371 372 369 fibril_mutex_lock(&e1000->ctrl_lock); 373 ctrl = E1000_REG_READ(e1000, E1000_CTRL);374 370 ctrl |= CTRL_SLU; 375 E1000_REG_WRITE(e1000, E1000_CTRL, ctrl);376 371 } 377 372 378 373 fibril_mutex_unlock(&e1000->ctrl_lock); 374 375 e1000_link_restart(e1000); 379 376 } 380 377
Note:
See TracChangeset
for help on using the changeset viewer.