Compiling multiplatform code

From: Ivan Passos (lists@cyclades.com)
Date: Fri Apr 28 2000 - 17:40:50 EST


Hello,

The Cyclades driver supports ISA and PCI boards. However, I'd like to be
able to compile the ISA support only on x86 systems.

My question is: is there a CONFIG_??? flag that I can use to do that??
Something like:

#ifdef CONFIG_X86
/* ISA Code */
#endif

I've seen some CONFIG_Mn86 (where n is 3, 4, 5 ...), but I'd like to use
one single flag that shows this is an x86 system.

Is there any __x86__ flag???

TIA and Regards,
Ivan

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sun Apr 30 2000 - 21:00:16 EST