diff options
author | Christoph Hellwig <hch@lst.de> | 2005-07-04 11:49:22 -0400 |
---|---|---|
committer | James Bottomley <jejb@mulgrave.(none)> | 2005-08-02 12:43:51 -0400 |
commit | 7a34766fdcec0c619aa68ace203b934dd7cf9dbc (patch) | |
tree | 41a16c2fb6a6edf9f45e7ffbe23b84c042ba5207 /drivers/scsi/qla1280.h | |
parent | 0888f4c3312847eec4814a6d7cdcaaaa9fbd3345 (diff) |
[SCSI] qla1280: don't use bitfields for hardware access, parameters
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Thiemo Seufer <ths@linux-mips.org>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to 'drivers/scsi/qla1280.h')
-rw-r--r-- | drivers/scsi/qla1280.h | 21 |
1 files changed, 9 insertions, 12 deletions
diff --git a/drivers/scsi/qla1280.h b/drivers/scsi/qla1280.h index 4032ea3f2b94..7c919db97a40 100644 --- a/drivers/scsi/qla1280.h +++ b/drivers/scsi/qla1280.h | |||
@@ -451,18 +451,15 @@ struct nvram { | |||
451 | uint16_t unused_38; /* 38, 39 */ | 451 | uint16_t unused_38; /* 38, 39 */ |
452 | 452 | ||
453 | struct { | 453 | struct { |
454 | union { | 454 | struct { |
455 | uint8_t c; | 455 | uint8_t renegotiate_on_error:1; |
456 | struct { | 456 | uint8_t stop_queue_on_check:1; |
457 | uint8_t renegotiate_on_error:1; | 457 | uint8_t auto_request_sense:1; |
458 | uint8_t stop_queue_on_check:1; | 458 | uint8_t tag_queuing:1; |
459 | uint8_t auto_request_sense:1; | 459 | uint8_t enable_sync:1; |
460 | uint8_t tag_queuing:1; | 460 | uint8_t enable_wide:1; |
461 | uint8_t enable_sync:1; | 461 | uint8_t parity_checking:1; |
462 | uint8_t enable_wide:1; | 462 | uint8_t disconnect_allowed:1; |
463 | uint8_t parity_checking:1; | ||
464 | uint8_t disconnect_allowed:1; | ||
465 | } f; | ||
466 | } parameter; /* 40 */ | 463 | } parameter; /* 40 */ |
467 | 464 | ||
468 | uint8_t execution_throttle; /* 41 */ | 465 | uint8_t execution_throttle; /* 41 */ |