Index: uspace/srv/hw/netif/dp8390/dp8390.c
===================================================================
--- uspace/srv/hw/netif/dp8390/dp8390.c	(revision d3a0af7ed10e1245cda2188e4579de026afa89e8)
+++ uspace/srv/hw/netif/dp8390/dp8390.c	(revision 122b75329f6446a34c17264deda1bbd26ae485b0)
@@ -674,5 +674,5 @@
 	
 //	if (!(dep->de_flags & DEF_READING))
-//		return EGENERIC;
+//		return EINVAL;
 	
 	packet = netif_packet_get_1(length);
@@ -771,5 +771,5 @@
 	void *vir_user;
 	size_t ecount;
-	int i, r;
+	int i;
 	size_t bytes;
 	//uint8_t two_bytes[2];
@@ -810,10 +810,5 @@
 		
 		if (odd_byte) {
-			r = sys_vircopy(user_proc, D, vir_user,
-			//	SELF, D, (vir_bytes) &two_bytes[1], 1);
-				SELF, D, &(((uint8_t *) &two_bytes)[1]), 1);
-			
-			if (r != EOK)
-				fprintf(stderr, "DP8390: dp_pio16_user2nic: sys_vircopy failed\n");
+			memcpy(&(((uint8_t *) &two_bytes)[1]), vir_user, 1);
 			
 			//outw(dep->de_data_port, *(uint16_t *) two_bytes);
@@ -841,10 +836,5 @@
 			assert(bytes == 1);
 			
-			r = sys_vircopy(user_proc, D, vir_user,
-			//	SELF, D, (vir_bytes) &two_bytes[0], 1);
-				SELF, D, &(((uint8_t *) &two_bytes)[0]), 1);
-			
-			if (r != EOK)
-				fprintf(stderr, "DP8390: dp_pio16_user2nic: sys_vircopy failed\n");
+			memcpy(&(((uint8_t *) &two_bytes)[0]), vir_user, 1);
 			
 			count--;
@@ -915,5 +905,5 @@
 	void *vir_user;
 	size_t ecount;
-	int i, r;
+	int i;
 	size_t bytes;
 	//uint8_t two_bytes[2];
@@ -953,9 +943,5 @@
 		
 		if (odd_byte) {
-			//r= sys_vircopy(SELF, D, (vir_bytes)&two_bytes[1],
-			r= sys_vircopy(SELF, D, &(((uint8_t *) &two_bytes)[1]),
-			    user_proc, D, vir_user, 1);
-			if (r != EOK)
-				fprintf(stderr, "DP8390: dp_pio16_nic2user: sys_vircopy failed\n");
+			memcpy(vir_user, &(((uint8_t *) &two_bytes)[1]), 1);
 			
 			count--;
@@ -983,9 +969,5 @@
 			//*(uint16_t *) two_bytes= inw(dep->de_data_port);
 			two_bytes = inw(dep->de_data_port);
-			//r= sys_vircopy(SELF, D, (vir_bytes) &two_bytes[0],
-			r = sys_vircopy(SELF, D, &(((uint8_t *) &two_bytes)[0]),
-			    user_proc, D, vir_user,  1);
-			if (r != EOK)
-				fprintf(stderr, "DP8390: dp_pio16_nic2user: sys_vircopy failed\n");
+			memcpy(vir_user, &(((uint8_t *) &two_bytes)[0]), 1);
 			
 			count--;
Index: uspace/srv/hw/netif/dp8390/dp8390_port.h
===================================================================
--- uspace/srv/hw/netif/dp8390/dp8390_port.h	(revision d3a0af7ed10e1245cda2188e4579de026afa89e8)
+++ uspace/srv/hw/netif/dp8390/dp8390_port.h	(revision 122b75329f6446a34c17264deda1bbd26ae485b0)
@@ -78,16 +78,4 @@
 #define outw(port, value)  pio_write_16((ioport16_t *) (port), (value))
 
-/** Copies a memory block.
- *  @param proc The source process. Ignored parameter.
- *  @param src_s Ignored parameter.
- *  @param[in] src The source address.
- *  @param me The current proces. Ignored parameter.
- *  @param dst_s Ignored parameter.
- *  @param[in] dst The destination address.
- *  @param[in] bytes The block size in bytes.
- *  @returns EOK.
- */
-#define sys_vircopy(proc, src_s, src, me, dst_s, dst, bytes)	({memcpy((void *)(dst), (void *)(src), (bytes)); EOK;})
-
 /** Reads a memory block byte by byte.
  *  @param[in] port The address to be written.
@@ -181,22 +169,16 @@
 } eth_stat_t;
 
-/* errno.h */
-/** Generic error.
- */
-#define EGENERIC     EINVAL
-
 /* ether.h */
 /** Minimum Ethernet packet size in bytes.
  */
-#define ETH_MIN_PACK_SIZE		  60
+#define ETH_MIN_PACK_SIZE  60
 
 /** Maximum Ethernet packet size in bytes.
  */
-#define ETH_MAX_PACK_SIZE_TAGGED	1518
+#define ETH_MAX_PACK_SIZE_TAGGED  1518
 
 /** Ethernet address type definition.
  */
-typedef struct ether_addr
-{
+typedef struct ether_addr {
 	/** Address data.
 	 */
