Re: [Qemu-devel] [PATCH V3 8/8] hw/mdio: Use bitbang core for smc91c111 network device

2013-02-03 Thread Grant Likely
On Sat, 2 Feb 2013 23:51:42 +, Peter Maydell wrote: > On 2 February 2013 23:40, Grant Likely wrote: > > static const VMStateDescription vmstate_smc91c111 = { > > @@ -71,6 +76,8 @@ static const VMStateDescription vmstate_smc91c111 = { > > VMSTATE_BUFFER_UNSAFE(data, smc91c111_state,

[Qemu-devel] [PATCH V3 8/8] hw/mdio: Use bitbang core for smc91c111 network device

2013-02-02 Thread Grant Likely
The smc91c111 device has bitbanged MDIO access, but the model doesn't yet implement it. This patch uses the generalized bitbang MDIO support pulled out of etraxfs Ethernet driver. The MDIO state machine is driven by changes in state to the clock control bit in the management register. The PHY mode

Re: [Qemu-devel] [PATCH V3 8/8] hw/mdio: Use bitbang core for smc91c111 network device

2013-02-02 Thread Peter Maydell
On 2 February 2013 23:40, Grant Likely wrote: > static const VMStateDescription vmstate_smc91c111 = { > @@ -71,6 +76,8 @@ static const VMStateDescription vmstate_smc91c111 = { > VMSTATE_BUFFER_UNSAFE(data, smc91c111_state, 0, NUM_PACKETS * 2048), > VMSTATE_UINT8(int_level, smc91