Index: uspace/lib/nic/src/nic_driver.c
===================================================================
--- uspace/lib/nic/src/nic_driver.c	(revision 7858acbf41d53b9ad6dcaf06f30f37ba260f89f8)
+++ uspace/lib/nic/src/nic_driver.c	(revision ebc9c2cfd20bdd5c2f62803f849f0b88de5212c0)
@@ -42,7 +42,4 @@
 #include <stdio.h>
 #include <str_error.h>
-#include <ipc/services.h>
-#include <ipc/ns.h>
-#include <ipc/irc.h>
 #include <sysinfo.h>
 #include <as.h>
@@ -378,31 +375,4 @@
 }
 
-
-/**
- * Enable interrupts for this driver.
- *
- * @param nic_data
- * @param irq			The IRQ number for this device
- */
-void nic_enable_interrupt(nic_t *nic_data, int irq)
-{
-	async_exch_t *exch = async_exchange_begin(nic_data->irc_session);
-	async_msg_1(exch, IRC_ENABLE_INTERRUPT, irq);
-	async_exchange_end(exch);
-}
-
-/**
- * Disable interrupts for this driver.
- *
- * @param nic_data
- * @param irq			The IRQ number for this device
- */
-void nic_disable_interrupt(nic_t *nic_data, int irq)
-{
-	async_exch_t *exch = async_exchange_begin(nic_data->irc_session);
-	async_msg_1(exch, IRC_CLEAR_INTERRUPT, irq);
-	async_exchange_end(exch);
-}
-
 /** Get the polling mode information from the device 
  *
@@ -420,34 +390,4 @@
 	return nic_data->poll_mode;
 };
-
-/**
- * Connect to IRC service. This function should be called only from
- * the add_device handler, thus no locking is required.
- *
- * @param nic_data
- *
- * @return EOK		If connection was successful.
- * @return EINVAL	If the IRC service cannot be determined.
- * @return EREFUSED	If IRC service cannot be connected.
- */
-int nic_connect_to_services(nic_t *nic_data)
-{
-	/* IRC service */
-	sysarg_t apic;
-	sysarg_t i8259;
-	services_t irc_service = -1;
-	if (((sysinfo_get_value("apic", &apic) == EOK) && (apic)) ||
-	    ((sysinfo_get_value("i8259", &i8259) == EOK) && (i8259)))
-		irc_service = SERVICE_IRC;
-	else
-		return EINVAL;
-	
-	nic_data->irc_session = service_connect_blocking(EXCHANGE_SERIALIZE,
-		irc_service, 0, 0);
-	if (nic_data->irc_session == NULL)
-		return errno;
-	
-	return EOK;
-}
 
 /** Inform the NICF about poll mode
@@ -668,5 +608,4 @@
 	nic_data->state = NIC_STATE_STOPPED;
 	nic_data->client_session = NULL;
-	nic_data->irc_session = NULL;
 	nic_data->poll_mode = NIC_POLL_IMMEDIATE;
 	nic_data->default_poll_mode = NIC_POLL_IMMEDIATE;
