Index: uspace/srv/hw/netif/dp8390/dp8390.c
===================================================================
--- uspace/srv/hw/netif/dp8390/dp8390.c	(revision 506a8054001ce7e2aaf5bc1e01aac0f9779524b7)
+++ uspace/srv/hw/netif/dp8390/dp8390.c	(revision 2a6e4ac2da9ec451013b37541e8cb66ebd89e928)
@@ -10,14 +10,11 @@
 #include <byteorder.h>
 #include <errno.h>
-
 #include <netif_local.h>
 #include <net/packet.h>
 #include <packet_client.h>
-
 #include "dp8390_drv.h"
 #include "dp8390_port.h"
-
-#include "local.h"
 #include "dp8390.h"
+#include "ne2000.h"
 
 /** Queues the outgoing packet.
Index: uspace/srv/hw/netif/dp8390/dp8390.h
===================================================================
--- uspace/srv/hw/netif/dp8390/dp8390.h	(revision 506a8054001ce7e2aaf5bc1e01aac0f9779524b7)
+++ uspace/srv/hw/netif/dp8390/dp8390.h	(revision 2a6e4ac2da9ec451013b37541e8cb66ebd89e928)
@@ -13,5 +13,4 @@
 
 #include "dp8390_port.h"
-#include "local.h"
 
 /** Input/output size.
Index: uspace/srv/hw/netif/dp8390/dp8390_module.c
===================================================================
--- uspace/srv/hw/netif/dp8390/dp8390_module.c	(revision 506a8054001ce7e2aaf5bc1e01aac0f9779524b7)
+++ uspace/srv/hw/netif/dp8390/dp8390_module.c	(revision 2a6e4ac2da9ec451013b37541e8cb66ebd89e928)
@@ -43,5 +43,4 @@
 #include <ipc/ipc.h>
 #include <ipc/services.h>
-
 #include <net/modules.h>
 #include <packet_client.h>
@@ -51,5 +50,4 @@
 #include <netif_interface.h>
 #include <netif_local.h>
-
 #include "dp8390.h"
 #include "dp8390_drv.h"
Index: uspace/srv/hw/netif/dp8390/local.h
===================================================================
--- uspace/srv/hw/netif/dp8390/local.h	(revision 506a8054001ce7e2aaf5bc1e01aac0f9779524b7)
+++ 	(revision )
@@ -1,21 +1,0 @@
-/** @addtogroup dp8390
- *  @{
- */
-
-/** @file
- *  Network interface probe functions.
- */
-
-#ifndef __NET_NETIF_DP8390_CONFIG_H__
-#define __NET_NETIF_DP8390_CONFIG_H__
-
-#include "dp8390_port.h"
-
-struct dpeth;
-
-int ne_probe(struct dpeth * dep);
-
-#endif
-
-/** @}
- */
Index: uspace/srv/hw/netif/dp8390/ne2000.c
===================================================================
--- uspace/srv/hw/netif/dp8390/ne2000.c	(revision 506a8054001ce7e2aaf5bc1e01aac0f9779524b7)
+++ uspace/srv/hw/netif/dp8390/ne2000.c	(revision 2a6e4ac2da9ec451013b37541e8cb66ebd89e928)
@@ -9,8 +9,5 @@
 #include <stdio.h>
 #include <unistd.h>
-
 #include "dp8390_port.h"
-
-#include "local.h"
 #include "dp8390.h"
 #include "ne2000.h"
@@ -21,11 +18,11 @@
 /** Type definition of the testing function.
  */
-_PROTOTYPE(typedef int (*testf_t), (dpeth_t *dep, int pos, u8_t *pat)	);
+_PROTOTYPE(typedef int (*testf_t), (dpeth_t *dep, int pos, u8_t *pat));
 
 /** Data patterns */
-u8_t pat0[]= {0x00, 0x00, 0x00, 0x00};
-u8_t pat1[]= {0xFF, 0xFF, 0xFF, 0xFF};
-u8_t pat2[]= {0xA5, 0x5A, 0x69, 0x96};
-u8_t pat3[]= {0x96, 0x69, 0x5A, 0xA5};
+u8_t pat0[] = {0x00, 0x00, 0x00, 0x00};
+u8_t pat1[] = {0xFF, 0xFF, 0xFF, 0xFF};
+u8_t pat2[] = {0xA5, 0x5A, 0x69, 0x96};
+u8_t pat3[] = {0x96, 0x69, 0x5A, 0xA5};
 
 /** Tests 8 bit NE2000 network interface.
Index: uspace/srv/hw/netif/dp8390/ne2000.h
===================================================================
--- uspace/srv/hw/netif/dp8390/ne2000.h	(revision 506a8054001ce7e2aaf5bc1e01aac0f9779524b7)
+++ uspace/srv/hw/netif/dp8390/ne2000.h	(revision 2a6e4ac2da9ec451013b37541e8cb66ebd89e928)
@@ -11,5 +11,4 @@
 
 #include <libarch/ddi.h>
-
 #include "dp8390_port.h"
 
@@ -61,5 +60,5 @@
  *  @returns The read value.
  */
-#define inw_ne(dep, reg)  (inw(dep->de_base_port+reg))
+#define inw_ne(dep, reg)  (inw(dep->de_base_port + reg))
 
 /** Writes 1 word (2 bytes) register.
@@ -68,5 +67,9 @@
  *  @param[in] data The value to be written.
  */
-#define outw_ne(dep, reg, data)  (outw(dep->de_base_port+reg, data))
+#define outw_ne(dep, reg, data)  (outw(dep->de_base_port + reg, data))
+
+struct dpeth;
+
+int ne_probe(struct dpeth *dep);
 
 #endif
