[3/3] eepro100: Use VMSTATE_MACADDR

Submitted by Juan Quintela on Oct. 22, 2009, 6:50 p.m.

Details

Message ID 6df518fa7db95ad0222a1dac12a23ea587885ed6.1256236480.git.quintela@redhat.com
State New
Headers show

Commit Message

Juan Quintela Oct. 22, 2009, 6:50 p.m.
Signed-off-by: Juan Quintela <quintela@redhat.com>
---
 hw/eepro100.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

Patch hide | download patch | download mbox

diff --git a/hw/eepro100.c b/hw/eepro100.c
index 07805b1..ab505bf 100644
--- a/hw/eepro100.c
+++ b/hw/eepro100.c
@@ -1612,7 +1612,7 @@  static const VMStateDescription vmstate_eepro100 = {
         VMSTATE_UINT8(scb_stat, EEPRO100State),
         VMSTATE_UINT8(int_stat, EEPRO100State),
         VMSTATE_UNUSED(3*4),
-        VMSTATE_BUFFER(conf.macaddr, EEPRO100State),
+        VMSTATE_MACADDR(conf.macaddr, EEPRO100State),
         VMSTATE_UNUSED(19*4),
         VMSTATE_UINT16_ARRAY(mdimem, EEPRO100State, 32),
         /* The eeprom should be saved and restored by its own routines. */