Changeset c7a7656 in mainline for arch/mips32/include/drivers/arc.h
- Timestamp:
- 2005-09-12T20:25:21Z (20 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 1c9b02df
- Parents:
- 72dde3a
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
arch/mips32/include/drivers/arc.h
r72dde3a rc7a7656 27 27 */ 28 28 29 #ifndef __mips 32_ARC_H_30 #define __mips 32_ARC_H_29 #ifndef __mips_ARC_H_ 30 #define __mips_ARC_H_ 31 31 32 32 #include <arch/types.h> … … 35 35 #define ARC_MAGIC 0x53435241 36 36 37 typedef enum { 38 SystemClass = 0, 39 ProcessorClass, 40 CacheClass, 41 AdapterClass, 42 ControllerClass, 43 PeripheralClass, 44 MemoryClass 45 } arc_component_class; 46 47 typedef enum { 48 ARC_type = 0, 49 CPU_type, 50 FPU_type, 51 PrimaryICache, 52 PrimaryDCache, 53 SecondaryICache, 54 SecondaryDCache, 55 SecondaryCache, 56 Memory, /* Not in NT PROM */ 57 EISAAdapter, 58 TCAdapter, 59 SCSIAdapter, 60 DTIAdapter, 61 MultiFunctionAdapter, 62 DiskController, 63 TapeController, 64 CDROMController, 65 WORMController, 66 SerialController, 67 NetworkController, 68 DisplayController, 69 ParallelController, 70 PointerController, 71 KeyboardController, 72 AudioController, 73 OtherController, 74 DiskPeripheral, 75 FloppyDiskPeripheral, 76 TapePeripheral, 77 ModemPeripheral, 78 MonitorPeripheral, 79 PrinterPeripheral, 80 PointerPeripheral, 81 KeyboardPeripheral, 82 TerminalPeripheral, 83 LinePeripheral, 84 NetworkPeripheral, 85 OtherPeripheral, 86 XTalkAdapter, 87 PCIAdapter, 88 GIOAdapter, 89 TPUAdapter, 90 Anonymous 91 }arc_component_type; 92 93 typedef enum { 94 Failed = 1, 95 ReadOnly = 2, 96 Removable = 4, 97 ConsoleIn = 8, 98 ConsoleOut = 16, 99 Input = 32, 100 Output = 64 101 }arc_component_flags; 102 37 103 typedef struct { 38 } arc_component; 104 arc_component_class class; 105 arc_component_type type; 106 arc_component_flags flags; 107 __u16 revision; 108 __u16 version; 109 __u32 key; 110 __u32 affinitymask; 111 __u32 configdatasize; 112 __u32 identifier_len; 113 char *identifier; 114 } __attribute__ ((packed)) arc_component; 39 115 40 116 typedef struct { … … 46 122 __u16 seconds; 47 123 __u16 mseconds; 48 } arc_timeinfo;124 } __attribute__ ((packed)) arc_timeinfo; 49 125 50 126 /* This is the SGI block structure, WinNT has it different */ … … 136 212 extern int arc_enabled(void); 137 213 extern void arc_putchar(char ch); 214 extern void arc_print_devices(void); 138 215 139 216 #endif
Note:
See TracChangeset
for help on using the changeset viewer.