summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Brown2010-12-24 02:10:26 +0100
committerMichael Brown2010-12-24 02:10:26 +0100
commitdc462e8b3b424fd0bf90c428da79f6fffe1a0d68 (patch)
tree38ab7d7ace5433cebba48ab4f1bc62f356f19954
parent[igbvf] Add igbvf driver (diff)
downloadipxe-dc462e8b3b424fd0bf90c428da79f6fffe1a0d68.tar.gz
ipxe-dc462e8b3b424fd0bf90c428da79f6fffe1a0d68.tar.xz
ipxe-dc462e8b3b424fd0bf90c428da79f6fffe1a0d68.zip
[hermon] Fix incorrectly-padded sense_port structure
Signed-off-by: Michael Brown <mcb30@ipxe.org>
-rw-r--r--src/drivers/infiniband/hermon.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/drivers/infiniband/hermon.h b/src/drivers/infiniband/hermon.h
index 7f00efcd3..28ab34afa 100644
--- a/src/drivers/infiniband/hermon.h
+++ b/src/drivers/infiniband/hermon.h
@@ -211,7 +211,7 @@ struct hermonprm_sense_port_st {
pseudo_bit_t reserved0[0x00020];
/* -------------- */
pseudo_bit_t port_type[0x00002];
- pseudo_bit_t reserved1[0x00018];
+ pseudo_bit_t reserved1[0x0001e];
} __attribute__ (( packed ));
struct hermonprm_set_port_ib_st {