Patchwork [3/3] eepro100: Use VMSTATE_MACADDR

login
register
mail settings
Submitter Juan Quintela
Date Oct. 22, 2009, 6:50 p.m.
Message ID <6df518fa7db95ad0222a1dac12a23ea587885ed6.1256236480.git.quintela@redhat.com>
Download mbox | patch
Permalink /patch/36741/
State New
Headers show

Comments

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

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. */