aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/qla1280.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/scsi/qla1280.h')
-rw-r--r--drivers/scsi/qla1280.h30
1 files changed, 12 insertions, 18 deletions
diff --git a/drivers/scsi/qla1280.h b/drivers/scsi/qla1280.h
index 18c20cf371af..4032ea3f2b94 100644
--- a/drivers/scsi/qla1280.h
+++ b/drivers/scsi/qla1280.h
@@ -375,29 +375,23 @@ struct nvram {
375 uint16_t unused_12; /* 12, 13 */ 375 uint16_t unused_12; /* 12, 13 */
376 uint16_t unused_14; /* 14, 15 */ 376 uint16_t unused_14; /* 14, 15 */
377 377
378 union { 378 struct {
379 uint8_t c; 379 uint8_t reserved:2;
380 struct { 380 uint8_t burst_enable:1;
381 uint8_t reserved:2; 381 uint8_t reserved_1:1;
382 uint8_t burst_enable:1; 382 uint8_t fifo_threshold:4;
383 uint8_t reserved_1:1;
384 uint8_t fifo_threshold:4;
385 } f;
386 } isp_config; /* 16 */ 383 } isp_config; /* 16 */
387 384
388 /* Termination 385 /* Termination
389 * 0 = Disable, 1 = high only, 3 = Auto term 386 * 0 = Disable, 1 = high only, 3 = Auto term
390 */ 387 */
391 union { 388 struct {
392 uint8_t c; 389 uint8_t scsi_bus_1_control:2;
393 struct { 390 uint8_t scsi_bus_0_control:2;
394 uint8_t scsi_bus_1_control:2; 391 uint8_t unused_0:1;
395 uint8_t scsi_bus_0_control:2; 392 uint8_t unused_1:1;
396 uint8_t unused_0:1; 393 uint8_t unused_2:1;
397 uint8_t unused_1:1; 394 uint8_t auto_term_support:1;
398 uint8_t unused_2:1;
399 uint8_t auto_term_support:1;
400 } f;
401 } termination; /* 17 */ 395 } termination; /* 17 */
402 396
403 uint16_t isp_parameter; /* 18, 19 */ 397 uint16_t isp_parameter; /* 18, 19 */