Revision d297f464 hw/etraxfs_eth.c
b/hw/etraxfs_eth.c | ||
---|---|---|
154 | 154 |
bus->devs[addr & 0x1f] = phy; |
155 | 155 |
} |
156 | 156 |
|
157 |
#ifdef USE_THIS_DEAD_CODE |
|
157 | 158 |
static void |
158 | 159 |
mdio_detach(struct qemu_mdio *bus, struct qemu_phy *phy, unsigned int addr) |
159 | 160 |
{ |
160 | 161 |
bus->devs[addr & 0x1f] = NULL; |
161 | 162 |
} |
163 |
#endif |
|
162 | 164 |
|
163 | 165 |
static void mdio_read_req(struct qemu_mdio *bus) |
164 | 166 |
{ |
... | ... | |
328 | 330 |
{ |
329 | 331 |
struct fs_eth *eth = opaque; |
330 | 332 |
CPUState *env = eth->env; |
331 |
cpu_abort(env, "Unsupported short access. reg=%x pc=%x.\n",
|
|
332 |
addr, env->pc); |
|
333 |
cpu_abort(env, "Unsupported short access. reg=" TARGET_FMT_plx
|
|
334 |
" pc=%x.\n", addr, env->pc);
|
|
333 | 335 |
return 0; |
334 | 336 |
} |
335 | 337 |
|
... | ... | |
359 | 361 |
{ |
360 | 362 |
struct fs_eth *eth = opaque; |
361 | 363 |
CPUState *env = eth->env; |
362 |
cpu_abort(env, "Unsupported short access. reg=%x pc=%x.\n",
|
|
363 |
addr, env->pc); |
|
364 |
cpu_abort(env, "Unsupported short access. reg=" TARGET_FMT_plx
|
|
365 |
" pc=%x.\n", addr, env->pc);
|
|
364 | 366 |
} |
365 | 367 |
|
366 | 368 |
static void eth_update_ma(struct fs_eth *eth, int ma) |
Also available in: Unified diff