diff options
author | David Gwynne <dlg@cvs.openbsd.org> | 2014-03-24 12:15:04 +0000 |
---|---|---|
committer | David Gwynne <dlg@cvs.openbsd.org> | 2014-03-24 12:15:04 +0000 |
commit | 104311b77276e5dee7b052f857b3aaecf9169784 (patch) | |
tree | 6edc26fdd335bc1256b769fa5d12ac6e077efa93 /sys | |
parent | 53e16265cbf023702e5242c93a5fe32a49610eee (diff) |
mpii_sges are 4 byte aligned. makes storing the flags field a bit easier
on strict alignment archs.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/dev/pci/mpiireg.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/pci/mpiireg.h b/sys/dev/pci/mpiireg.h index a1689255a3d..28b8c81cb56 100644 --- a/sys/dev/pci/mpiireg.h +++ b/sys/dev/pci/mpiireg.h @@ -1,4 +1,4 @@ -/* $OpenBSD: mpiireg.h,v 1.4 2014/03/24 12:06:58 dlg Exp $ */ +/* $OpenBSD: mpiireg.h,v 1.5 2014/03/24 12:15:03 dlg Exp $ */ /* * Copyright (c) 2010 Mike Belopuhov * Copyright (c) 2009 James Giannoules @@ -126,7 +126,7 @@ struct mpii_sge { u_int32_t sg_hdr; u_int32_t sg_addr_lo; u_int32_t sg_addr_hi; -} __packed; +} __packed __aligned(4); struct mpii_fw_tce { u_int8_t reserved1; |