MOXA linux-2.6.x / linux-2.6.19-uc1 from UC-7110-LX-BOOTLOADER-1.9_VERSION-4.2.tgz
[linux-2.6.19-moxart.git] / drivers / net / cs89x0_defs.h
blobaf16308407de28eec93eadf4ce469243d6c0e3b0
2 /* linux/drivers/net/cs89x0_defs.h: cs89x0 specific settings for embedded boards
4 * Copyright (C) 2004 Georges Menie
6 */
8 #ifndef _CS89X0_DEFS_H_
9 #define _CS89X0_DEFS_H_
11 #ifdef CONFIG_M68328
12 #include <asm/irq.h>
13 #include <asm/MC68328.h>
14 #define _CS89X0_DEFS_EMBED_
15 #endif
17 #ifdef CONFIG_M68EZ328
18 #include <asm/irq.h>
19 #include <asm/MC68EZ328.h>
20 #define _CS89X0_DEFS_EMBED_
21 #endif
23 #ifdef CONFIG_M68VZ328
24 #include <asm/irq.h>
25 #include <asm/MC68VZ328.h>
26 #define _CS89X0_DEFS_EMBED_
27 #endif
29 #ifdef CONFIG_EXCALIBUR
30 #include <asm/nios.h>
31 #define _CS89X0_DEFS_EMBED_
32 #endif
34 #ifdef CONFIG_ARCH_TA7S
35 #include <asm/arch/arch.h>
36 #include <asm/arch/irqs.h>
37 #define _CS89X0_DEFS_EMBED_
38 #endif
40 #ifdef CONFIG_HYPERSTONE
41 #include <asm/irq.h>
42 #include <asm/io.h>
43 #define _CS89X0_DEFS_EMBED_
44 #endif
46 #ifdef CONFIG_MACH_DM270
47 #include <asm/arch/irq.h>
48 #include <asm/arch/dm270.h>
49 #define _CS89X0_DEFS_EMBED_
50 #endif
52 #ifdef _CS89X0_DEFS_EMBED_
54 /* suppress debugging output */
55 #undef DEBUGGING
56 #define DEBUGGING 0
58 /* suppress DMA support */
59 #undef ALLOW_DMA
60 #define ALLOW_DMA 0
62 /* suppress EEPROM support */
63 #define NO_EPROM
65 /* suppress request_region() call */
66 #define NO_REQUEST_REGION
68 /* use static IRQ mapping */
69 #define MONO_IRQ_MAP
71 /* don't start sending packet before the whole data
72 * has been written to the cs89x0 registers
74 #define USE_TX_AFTER_ALL
76 /* place a hook into the cs89x0_probe1 function
77 * to call cs89x_hw_init_hook() for hardware initialisation
79 #define HW_INIT_HOOK
81 #endif /* _CS89X0_DEFS_EMBED_ */
82 #endif /* _CS89X0_DEFS_H_ */