diff options
author | David Gwynne <dlg@cvs.openbsd.org> | 2014-03-31 06:58:11 +0000 |
---|---|---|
committer | David Gwynne <dlg@cvs.openbsd.org> | 2014-03-31 06:58:11 +0000 |
commit | 7725b85d89d0fec4e68d883f8ba672539071720d (patch) | |
tree | b2177bdec9e0dde6b7f420ec6ffdf732df61189d | |
parent | a8e9003132202f1b076af3652a2ca5436aec836b (diff) |
the hardware expects ahci_cmd_table to be 128 byte aligned
-rw-r--r-- | sys/dev/ic/ahcivar.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/ic/ahcivar.h b/sys/dev/ic/ahcivar.h index 5b2dabefc3d..ee3e2fa9692 100644 --- a/sys/dev/ic/ahcivar.h +++ b/sys/dev/ic/ahcivar.h @@ -1,4 +1,4 @@ -/* $OpenBSD: ahcivar.h,v 1.6 2014/03/31 04:46:59 dlg Exp $ */ +/* $OpenBSD: ahcivar.h,v 1.7 2014/03/31 06:58:10 dlg Exp $ */ /* * Copyright (c) 2006 David Gwynne <dlg@openbsd.org> @@ -73,7 +73,7 @@ struct ahci_cmd_table { u_int8_t reserved[48]; struct ahci_prdt prdt[AHCI_MAX_PRDT]; -} __packed; +} __packed __aligned(128); #define AHCI_MAX_PORTS 32 |