$NetBSD: patch-hw_xilinx__axienet.c,v 1.1 2012/06/07 21:35:37 ryoon Exp $ Avoid conflicts with SSP read() macro in NetBSD's --- hw/xilinx_axienet.c.orig 2011-08-08 18:28:42 +0000 +++ hw/xilinx_axienet.c @@ -189,7 +189,7 @@ static uint16_t mdio_read_req(struct MDI phy = bus->devs[addr]; if (phy && phy->read) { - data = phy->read(phy, reg); + data = (*phy->read)(phy, reg); } else { data = 0xffff; }