Index: uspace/srv/net/netif/dp8390/dp8390.h
===================================================================
--- uspace/srv/net/netif/dp8390/dp8390.h	(revision 8b901f974fa7f3e6f20188532022564dca803212)
+++ uspace/srv/net/netif/dp8390/dp8390.h	(revision aa8267cbfa3253527bca9386e27cbac1706afec8)
@@ -353,5 +353,5 @@
 	port_t de_data_port;
 	int de_16bit;
-	int de_ramsize;
+	long de_ramsize;
 	int de_offset_page;
 	int de_startpage;
Index: uspace/srv/net/netif/dp8390/dp8390_port.h
===================================================================
--- uspace/srv/net/netif/dp8390/dp8390_port.h	(revision 8b901f974fa7f3e6f20188532022564dca803212)
+++ uspace/srv/net/netif/dp8390/dp8390_port.h	(revision aa8267cbfa3253527bca9386e27cbac1706afec8)
@@ -169,5 +169,5 @@
 /** Type definition of a port.
  */
-typedef int port_t;
+typedef long port_t;
 
 /* dl_eth.h */
@@ -256,5 +256,5 @@
 /** Type definition of the virtual addresses and lengths in bytes.
  */
-typedef unsigned int vir_bytes;
+typedef unsigned long vir_bytes;
 
 /** Type definition of the input/output vector.
