Browse Source

[hermon] Fix incorrectly-padded sense_port structure

Signed-off-by: Michael Brown <mcb30@ipxe.org>
tags/v1.20.1
Michael Brown 14 years ago
parent
commit
dc462e8b3b
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      src/drivers/infiniband/hermon.h

+ 1
- 1
src/drivers/infiniband/hermon.h View File

211
 	pseudo_bit_t reserved0[0x00020];
211
 	pseudo_bit_t reserved0[0x00020];
212
 /* -------------- */
212
 /* -------------- */
213
 	pseudo_bit_t port_type[0x00002];
213
 	pseudo_bit_t port_type[0x00002];
214
-	pseudo_bit_t reserved1[0x00018];
214
+	pseudo_bit_t reserved1[0x0001e];
215
 } __attribute__ (( packed ));
215
 } __attribute__ (( packed ));
216
 
216
 
217
 struct hermonprm_set_port_ib_st {
217
 struct hermonprm_set_port_ib_st {

Loading…
Cancel
Save