17 #include <arch/system.h>
20 #define HAS_FPU 0x0001
21 #define HAS_MMU 0x0002
22 #define HAS_ETHERNET100 0x0004
23 #define HAS_TOKENRING 0x0008
24 #define HAS_SCSI 0x0010
25 #define HAS_ATA 0x0020
26 #define HAS_USB 0x0040
27 #define HAS_IRQ_BUG 0x0080
28 #define HAS_MMU_BUG 0x0100
39 {
"ETRAX 3", 0, HAS_TOKENRING },
40 {
"ETRAX 4", 0, HAS_TOKENRING | HAS_SCSI },
44 {
"Simulator", 8, HAS_ETHERNET100 | HAS_SCSI |
HAS_ATA },
45 {
"ETRAX 100", 8, HAS_ETHERNET100 | HAS_SCSI |
HAS_ATA | HAS_IRQ_BUG },
46 {
"ETRAX 100", 8, HAS_ETHERNET100 | HAS_SCSI |
HAS_ATA },
47 {
"ETRAX 100LX", 8, HAS_ETHERNET100 | HAS_SCSI |
HAS_ATA | HAS_USB | HAS_MMU | HAS_MMU_BUG },
48 {
"ETRAX 100LX v2", 8, HAS_ETHERNET100 | HAS_SCSI |
HAS_ATA | HAS_USB | HAS_MMU },
69 "cpu revision\t: %lu\n"
71 "cache size\t: %d kB\n"
75 "ethernet\t: %s Mbps\n"
80 "bogomips\t: %lu.%02lu\n",
85 info->flags & HAS_FPU ?
"yes" :
"no",
86 info->flags & HAS_MMU ?
"yes" :
"no",
87 info->flags & HAS_MMU_BUG ?
"yes" :
"no",
88 info->flags & HAS_ETHERNET100 ?
"10/100" :
"10",
89 info->flags & HAS_TOKENRING ?
"4/16 Mbps" :
"no",
90 info->flags & HAS_SCSI ?
"yes" :
"no",
91 info->flags &
HAS_ATA ?
"yes" :
"no",
92 info->flags & HAS_USB ?
"yes" :
"no",
103 "Linux/CRIS port on ETRAX 100LX (c) 2001 Axis Communications AB\n");