summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@cvs.openbsd.org>2009-05-12 21:13:38 +0000
committerMark Kettenis <kettenis@cvs.openbsd.org>2009-05-12 21:13:38 +0000
commitc0bf34f650efa82b1387f573832d95cd0091e5b7 (patch)
treeb532ba3dee6a7537311bbd8f9f4496332854a508
parent0170d72f186fdbbcfcf8d3af9a806d07fe008291 (diff)
Add padding to ATTR_INFO message structure; OBP seems to insist on it
being there.
-rw-r--r--sys/arch/sparc64/dev/vnet.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/arch/sparc64/dev/vnet.c b/sys/arch/sparc64/dev/vnet.c
index dbcd60972ba..50fcc9adad8 100644
--- a/sys/arch/sparc64/dev/vnet.c
+++ b/sys/arch/sparc64/dev/vnet.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: vnet.c,v 1.14 2009/05/10 12:59:12 kettenis Exp $ */
+/* $OpenBSD: vnet.c,v 1.15 2009/05/12 21:13:37 kettenis Exp $ */
/*
* Copyright (c) 2009 Mark Kettenis
*
@@ -64,9 +64,10 @@ struct vnet_attr_info {
uint8_t xfer_mode;
uint8_t addr_type;
uint16_t ack_freq;
- uint32_t _reserved;
+ uint32_t _reserved1;
uint64_t addr;
uint64_t mtu;
+ uint64_t _reserved2[3];
};
/* Address types. */