eepro100: Fix alignment requirement for statistical counters
authorStefan Weil <sw@weilnetz.de>
Wed, 23 Nov 2011 21:20:30 +0000 (22:20 +0100)
committerAnthony Liguori <aliguori@us.ibm.com>
Mon, 28 Nov 2011 17:36:34 +0000 (11:36 -0600)
commit61ed4359bbc908f979996bdb2a5ecf85ae8b9de9
tree872c945324296bbe00c69f15bf556b7995ad5f1e
parent04907f406ea6a87e1f918082807f0afe2483cc10
eepro100: Fix alignment requirement for statistical counters

According to Intel's Open Source Software Developer Manual,
the dump counters address must be Dword aligned.

The new code enforces this alignment, so s->statsaddr may now
be used with stw_le_pci_dma() and stl_le_pci_dma().

Signed-off-by: Stefan Weil <sw@weilnetz.de>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
hw/eepro100.c