Changes in uspace/srv/hw/netif/ne2000/ne2000.c [79ae36dd:57d129e] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/hw/netif/ne2000/ne2000.c
r79ae36dd r57d129e 38 38 #include <assert.h> 39 39 #include <async.h> 40 #include <async_obsolete.h>41 40 #include <ddi.h> 42 41 #include <errno.h> … … 45 44 #include <sysinfo.h> 46 45 #include <ipc/services.h> 47 #include <ns.h> 48 #include <ns_obsolete.h> 46 #include <ipc/ns.h> 49 47 #include <ipc/irc.h> 50 48 #include <net/modules.h> … … 332 330 333 331 if (irc_service) 334 async_ obsolete_msg_1(irc_phone, IRC_ENABLE_INTERRUPT, ne2k->irq);332 async_msg_1(irc_phone, IRC_ENABLE_INTERRUPT, ne2k->irq); 335 333 } 336 334 … … 391 389 if (irc_service) { 392 390 while (irc_phone < 0) 393 irc_phone = service_ obsolete_connect_blocking(SERVICE_IRC, 0, 0);391 irc_phone = service_connect_blocking(SERVICE_IRC, 0, 0); 394 392 } 395 393 396 394 async_set_interrupt_received(irq_handler); 397 395 398 return service_register(SERVICE_NE2000);396 return async_connect_to_me(PHONE_NS, SERVICE_NE2000, 0, 0, NULL); 399 397 } 400 398
Note:
See TracChangeset
for help on using the changeset viewer.