[netdrvr] ibmtr: PCMCIA IBMTR is ok on 64bit
[safe/jmp/linux-2.6] / drivers / net / apne.c
index 47a8275..867f6ff 100644 (file)
@@ -127,6 +127,9 @@ struct net_device * __init apne_probe(int unit)
 #endif
        int err;
 
+       if (!MACH_IS_AMIGA)
+               return ERR_PTR(-ENODEV);
+
        if (apne_owned)
                return ERR_PTR(-ENODEV);