[PATCH] drivers/net/tlan.c: #ifdef CONFIG_PCI the PCI specific code
[sfrench/cifs-2.6.git] / drivers / net / hamachi.c
index d9df1d9a5739c471c82ec43186c8312c90f6b63f..bc9a3bf8d5605d2301ad300b9f848cfefa267465 100644 (file)
@@ -204,6 +204,10 @@ KERN_INFO "   Further modifications by Keith Underwood <keithu@parl.clemson.edu>
 
 #define RUN_AT(x) (jiffies + (x))
 
+#ifndef ADDRLEN
+#define ADDRLEN 32
+#endif
+
 /* Condensed bus+endian portability operations. */
 #if ADDRLEN == 64
 #define cpu_to_leXX(addr)      cpu_to_le64(addr)