MOXA linux-2.6.x / linux-2.6.9-uc0 from sdlinux-moxaart.tgz
[linux-2.6.9-moxart.git] / drivers / net / cs89x0_defs.h
blob7e0b0b16963b2794662dd941194cddc5b1ab94a4
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 _CS89X0_DEFS_EMBED_
48 /* suppress debugging output */
49 #undef DEBUGGING
50 #define DEBUGGING 0
52 /* suppress DMA support */
53 #undef ALLOW_DMA
54 #define ALLOW_DMA 0
56 /* suppress EEPROM support */
57 #define NO_EPROM
59 /* suppress request_region() call */
60 #define NO_REQUEST_REGION
62 /* use static IRQ mapping */
63 #define MONO_IRQ_MAP
65 /* don't start sending packet before the whole data
66 * has been written to the cs89x0 registers
68 #define USE_TX_AFTER_ALL
70 /* place a hook into the cs89x0_probe1 function
71 * to call cs89x_hw_init_hook() for hardware initialisation
73 #define HW_INIT_HOOK
75 #endif /* _CS89X0_DEFS_EMBED_ */
76 #endif /* _CS89X0_DEFS_H_ */