Changeset 66b628a in mainline for uspace/srv/hw/netif/dp8390/dp8390_module.c
- Timestamp:
- 2011-01-06T23:23:53Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 7922dea
- Parents:
- e3fe7df
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/hw/netif/dp8390/dp8390_module.c
re3fe7df r66b628a 130 130 fibril_rwlock_write_unlock(&netif_globals.lock); 131 131 132 if ((dep != NULL) && (dep-> de_mode == DEM_ENABLED)) {133 assert(dep-> de_flags & DEF_ENABLED);132 if ((dep != NULL) && (dep->up)) { 133 assert(dep->enabled); 134 134 dp_check_ints(nil_phone, device_id, dep, IRQ_GET_ISR(*call)); 135 135 } … … 233 233 device->state = NETIF_STOPPED; 234 234 dep->de_irq = irq; 235 dep-> de_mode = DEM_DISABLED;235 dep->up = false; 236 236 237 237 //TODO address? … … 306 306 return rc; 307 307 308 rc = do_init(dep , DL_BROAD_REQ);308 rc = do_init(dep); 309 309 if (rc != EOK) { 310 310 ipc_unregister_irq(dep->de_irq, device->device_id);
Note:
See TracChangeset
for help on using the changeset viewer.