Parent Directory | Revision Log | Patch
upstream/dynamips-0.2.6-RC3/dev_c3725_iofpga.c revision 4 by dpavlin, Sat Oct 6 16:06:49 2007 UTC | upstream/dynamips-0.2.6-RC4/dev_c3725_iofpga.c revision 5 by dpavlin, Sat Oct 6 16:08:03 2007 UTC | |
---|---|---|
# | Line 110 dev_c3725_iofpga_access(cpu_mips_t *cpu, | Line 110 dev_c3725_iofpga_access(cpu_mips_t *cpu, |
110 | switch(offset) { | switch(offset) { |
111 | /* | /* |
112 | * Platform type ? | * Platform type ? |
113 | * (other values than 0 cause crashes or lot of errors). | * 0x04 and 0x05 seem to work. |
114 | */ | */ |
115 | case 0x36: | case 0x36: |
116 | if (op_type == MTS_READ) | if (op_type == MTS_READ) |
117 | *data = 0x0000; | *data = 0x04 << 5; |
118 | break; | break; |
119 | ||
120 | /* Mainboard EEPROM */ | /* Mainboard EEPROM */ |
|
ViewVC Help | |
Powered by ViewVC 1.1.26 |