Ignore:
File:
1 edited

Legend:

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

    r57d129e r79ae36dd  
    3838#include <assert.h>
    3939#include <async.h>
     40#include <async_obsolete.h>
    4041#include <ddi.h>
    4142#include <errno.h>
     
    4445#include <sysinfo.h>
    4546#include <ipc/services.h>
    46 #include <ipc/ns.h>
     47#include <ns.h>
     48#include <ns_obsolete.h>
    4749#include <ipc/irc.h>
    4850#include <net/modules.h>
     
    330332               
    331333                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);
    333335        }
    334336       
     
    389391        if (irc_service) {
    390392                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);
    392394        }
    393395       
    394396        async_set_interrupt_received(irq_handler);
    395397       
    396         return async_connect_to_me(PHONE_NS, SERVICE_NE2000, 0, 0, NULL);
     398        return service_register(SERVICE_NE2000);
    397399}
    398400
Note: See TracChangeset for help on using the changeset viewer.