Index: uspace/srv/hw/netif/dp8390/dp8390.c
===================================================================
--- uspace/srv/hw/netif/dp8390/dp8390.c	(revision 2a6e4ac2da9ec451013b37541e8cb66ebd89e928)
+++ uspace/srv/hw/netif/dp8390/dp8390.c	(revision fc23ef65a6fb1603dc17d24f990bb9c7df11a5b2)
@@ -233,5 +233,5 @@
 		assert(!from_int);
 //		dep->de_flags |= DEF_PACK_SEND;
-		reply(dep, OK, FALSE);
+		reply(dep, EOK, FALSE);
 //		return;
 		return EOK;
@@ -253,5 +253,5 @@
 //		dep->de_sendmsg= *mp;
 //		dep->de_flags |= DEF_SEND_AVAIL;
-//		reply(dep, OK, FALSE);
+//		reply(dep, EOK, FALSE);
 //		return;
 //		return queue_packet(dep, packet);
@@ -318,5 +318,5 @@
 		return EOK;
 	
-	reply(dep, OK, FALSE);
+	reply(dep, EOK, FALSE);
 	
 	assert(dep->de_mode == DEM_ENABLED);
@@ -711,5 +711,5 @@
 //			else
 				r = dp_pkt2user(dep, pageno, length);
-			if (r != OK)
+			if (r != EOK)
 				return;
 
@@ -856,5 +856,5 @@
 		}
 	}
-	return OK;
+	return EOK;
 }
 
@@ -974,5 +974,5 @@
 			//	SELF, D, (vir_bytes)&two_bytes[1], 1);
 				SELF, D, (vir_bytes)&(((u8_t *)&two_bytes)[1]), 1);
-			if (r != OK)
+			if (r != EOK)
 			{
 				panic("DP8390",
@@ -1006,5 +1006,5 @@
 			//	SELF, D, (vir_bytes)&two_bytes[0], 1);
 				SELF, D, (vir_bytes)&(((u8_t *)&two_bytes)[0]), 1);
-			if (r != OK)
+			if (r != EOK)
 			{
 				panic("DP8390",
@@ -1138,5 +1138,5 @@
 			r= sys_vircopy(SELF, D, (vir_bytes)&(((u8_t *)&two_bytes)[1]),
 				user_proc, D, vir_user,  1);
-			if (r != OK)
+			if (r != EOK)
 			{
 				panic("DP8390",
@@ -1170,5 +1170,5 @@
 			r= sys_vircopy(SELF, D, (vir_bytes)&(((u8_t *)&two_bytes)[0]),
 				user_proc, D, vir_user,  1);
-			if (r != OK)
+			if (r != EOK)
 			{
 				panic("DP8390",
@@ -1290,5 +1290,5 @@
 	r= sys_vircopy(user_proc, D, user_addr,
 		SELF, D, (vir_bytes)loc_addr, count);
-	if (r != OK)
+	if (r != EOK)
 		panic("DP8390", "get_userdata: sys_vircopy failed", r);
 }
Index: uspace/srv/hw/netif/dp8390/dp8390_port.h
===================================================================
--- uspace/srv/hw/netif/dp8390/dp8390_port.h	(revision 2a6e4ac2da9ec451013b37541e8cb66ebd89e928)
+++ uspace/srv/hw/netif/dp8390/dp8390_port.h	(revision fc23ef65a6fb1603dc17d24f990bb9c7df11a5b2)
@@ -50,8 +50,4 @@
 #define _PROTOTYPE(function, params) function params
 
-/** Success error code.
- */
-#define OK	EOK
-
 /** Type definition of the unsigned byte.
  */
Index: uspace/srv/hw/netif/dp8390/ne2000.c
===================================================================
--- uspace/srv/hw/netif/dp8390/ne2000.c	(revision 2a6e4ac2da9ec451013b37541e8cb66ebd89e928)
+++ uspace/srv/hw/netif/dp8390/ne2000.c	(revision fc23ef65a6fb1603dc17d24f990bb9c7df11a5b2)
@@ -16,7 +16,5 @@
 #define N  100
 
-/** Type definition of the testing function.
- */
-_PROTOTYPE(typedef int (*testf_t), (dpeth_t *dep, int pos, u8_t *pat));
+typedef int (*testf_t)(dpeth_t *dep, int pos, u8_t *pat);
 
 /** Data patterns */
