diff options
author | Marco Peereboom <marco@cvs.openbsd.org> | 2008-10-21 06:22:25 +0000 |
---|---|---|
committer | Marco Peereboom <marco@cvs.openbsd.org> | 2008-10-21 06:22:25 +0000 |
commit | 8d00e1a26097ccc6bfe5e91f5ed6d746f529d211 (patch) | |
tree | 732cf3bc65abb37329a04326da289c0b9009c3d3 /sys/dev/ic | |
parent | 0a2a1181aca281ddee86fe1b49a80433619ce8aa (diff) |
Wow we had this structure forever wrong. Didn't break because it was
bigger than intended.
Diffstat (limited to 'sys/dev/ic')
-rw-r--r-- | sys/dev/ic/amireg.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/ic/amireg.h b/sys/dev/ic/amireg.h index 0472868804b..b1902ac362b 100644 --- a/sys/dev/ic/amireg.h +++ b/sys/dev/ic/amireg.h @@ -1,4 +1,4 @@ -/* $OpenBSD: amireg.h,v 1.28 2008/10/21 03:16:21 marco Exp $ */ +/* $OpenBSD: amireg.h,v 1.29 2008/10/21 06:22:24 marco Exp $ */ /* * Copyright (c) 2000 Michael Shalayeff @@ -514,7 +514,7 @@ struct ami_fc_einquiry { u_int8_t ain_ldstat[AMI_BIG_MAX_LDRIVES]; u_int8_t ain_pdstat[AMI_BIG_MAX_PDRIVES]; - u_int16_t ain_pdfmtinp[AMI_BIG_MAX_PDRIVES]; + u_int16_t ain_pdfmtinp[AMI_BIG_MAX_PDRIVES / 16]; u_int8_t ain_pdrates[80]; /* pdrv xfer rates */ u_int8_t ain_pad[263]; /* pad to 1k */ } __packed; |