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