Revision a8170e5e hw/xgmac.c

b/hw/xgmac.c
252 252
    qemu_set_irq(s->sbd_irq, !!stat);
253 253
}
254 254

  
255
static uint64_t enet_read(void *opaque, target_phys_addr_t addr, unsigned size)
255
static uint64_t enet_read(void *opaque, hwaddr addr, unsigned size)
256 256
{
257 257
    struct XgmacState *s = opaque;
258 258
    uint64_t r = 0;
......
271 271
    return r;
272 272
}
273 273

  
274
static void enet_write(void *opaque, target_phys_addr_t addr,
274
static void enet_write(void *opaque, hwaddr addr,
275 275
                       uint64_t value, unsigned size)
276 276
{
277 277
    struct XgmacState *s = opaque;

Also available in: Unified diff