Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/hw/netif/ne2000/ne2000.c

    r79ae36dd r57d129e  
    3838#include <assert.h>
    3939#include <async.h>
    40 #include <async_obsolete.h>
    4140#include <ddi.h>
    4241#include <errno.h>
     
    4544#include <sysinfo.h>
    4645#include <ipc/services.h>
    47 #include <ns.h>
    48 #include <ns_obsolete.h>
     46#include <ipc/ns.h>
    4947#include <ipc/irc.h>
    5048#include <net/modules.h>
     
    332330               
    333331                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);
    335333        }
    336334       
     
    391389        if (irc_service) {
    392390                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);
    394392        }
    395393       
    396394        async_set_interrupt_received(irq_handler);
    397395       
    398         return service_register(SERVICE_NE2000);
     396        return async_connect_to_me(PHONE_NS, SERVICE_NE2000, 0, 0, NULL);
    399397}
    400398
Note: See TracChangeset for help on using the changeset viewer.