summary refs log tree commit diff stats
path: root/json-parser.c
diff options
context:
space:
mode:
authorStefan Weil <weil@mail.berlios.de>2010-03-02 22:37:49 +0100
committerMichael S. Tsirkin <mst@redhat.com>2010-03-03 13:34:01 +0200
commitced5296ab79482c315543fe65a66ea0783c01024 (patch)
tree95df4780988b6ec8a6c2e6807cdd5fb62b522103 /json-parser.c
parent762401e2f856925ae3ebe3ade2213c17acece556 (diff)
downloadfocaccia-qemu-ced5296ab79482c315543fe65a66ea0783c01024.tar.gz
focaccia-qemu-ced5296ab79482c315543fe65a66ea0783c01024.zip
eepro100: Use symbolic names and BIT macros in binary operations
Instead of magic numbers like 0x8000, symbolic names are used
for the SCB command and status bits.

There are too many configuration bits to use symbolic names
there, too. Using the BIT macro is a little help when comparing
code and documentation.

For the same reason, some other constants were replaced by
the BITS macro.

Signed-off-by: Stefan Weil <weil@mail.berlios.de>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'json-parser.c')
0 files changed, 0 insertions, 0 deletions