Revert bogus part of
e3f5ec2b
(pass VLANClientState* as first arg to receive handlers)
Signed-off-by: Paul Brook <paul@codesourcery.com>
return (s->np < 31);
}
-static uint32_t stellaris_enet_read(VLANClientState *vc, target_phys_addr_t offset)
+static uint32_t stellaris_enet_read(void *opaque, target_phys_addr_t offset)
{
- stellaris_enet_state *s = vc->opaque;
+ stellaris_enet_state *s = (stellaris_enet_state *)opaque;
uint32_t val;
switch (offset) {