Changeset 3d5e190 in mainline for uspace/srv/hw/netif/dp8390/dp8390_module.c
- Timestamp:
- 2011-01-06T23:50:48Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade
- Children:
- 7c34b28f, 854151c, ae1f70e
- Parents:
- ba21938 (diff), 7922dea (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/hw/netif/dp8390/dp8390_module.c
rba21938 r3d5e190 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.