]> Git Repo - qemu.git/commit
net/cadence_gem: Improve can_receive debug printfery
authorPeter Crosthwaite <[email protected]>
Wed, 4 Dec 2013 06:01:28 +0000 (22:01 -0800)
committerPeter Maydell <[email protected]>
Tue, 10 Dec 2013 13:28:50 +0000 (13:28 +0000)
commit3ae5725f86a82751cccf6bc075e5ebfb327ac283
treec6df9bbaf58a2543937f3722d346fdc4ea2c86fc
parente2314fda62c42c89f91dcf104ed3702170a90308
net/cadence_gem: Improve can_receive debug printfery

Currently this just floods indicating that can_receive has been called
by the net framework. Instead, save the result of the most recent
can_receive callback as state and only print a message if the result
changes (indicating some sort of actual state change in GEM). Make said
debug message more meaningful as well.

Signed-off-by: Peter Crosthwaite <[email protected]>
Message-id: 2eb74ca6a5756aea242d9f525961db95d6cfcf2c.1386136219[email protected]
Signed-off-by: Peter Maydell <[email protected]>
hw/net/cadence_gem.c
This page took 0.025593 seconds and 4 git commands to generate.