Changeset 41811af in mainline for uspace/srv/hw/netif/ne2000/ne2000.c
- Timestamp:
- 2011-06-10T10:14:26Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- ab547063
- Parents:
- 9536e6e (diff), 390d80d (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/ne2000/ne2000.c
r9536e6e r41811af 38 38 #include <assert.h> 39 39 #include <async.h> 40 #include <async_obsolete.h> 40 41 #include <ddi.h> 41 42 #include <errno.h> … … 44 45 #include <sysinfo.h> 45 46 #include <ipc/services.h> 46 #include <ipc/ns.h> 47 #include <ns.h> 48 #include <ns_obsolete.h> 47 49 #include <ipc/irc.h> 48 50 #include <net/modules.h> … … 330 332 331 333 if (irc_service) 332 async_ msg_1(irc_phone, IRC_ENABLE_INTERRUPT, ne2k->irq);334 async_obsolete_msg_1(irc_phone, IRC_ENABLE_INTERRUPT, ne2k->irq); 333 335 } 334 336 … … 389 391 if (irc_service) { 390 392 while (irc_phone < 0) 391 irc_phone = service_ connect_blocking(SERVICE_IRC, 0, 0);393 irc_phone = service_obsolete_connect_blocking(SERVICE_IRC, 0, 0); 392 394 } 393 395 394 396 async_set_interrupt_received(irq_handler); 395 397 396 return async_connect_to_me(PHONE_NS, SERVICE_NE2000, 0, 0, NULL);398 return service_register(SERVICE_NE2000); 397 399 } 398 400
Note:
See TracChangeset
for help on using the changeset viewer.