summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sys/dev/firewire/iec13213.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/dev/firewire/iec13213.h b/sys/dev/firewire/iec13213.h
index 984766f..56d02a6 100644
--- a/sys/dev/firewire/iec13213.h
+++ b/sys/dev/firewire/iec13213.h
@@ -236,8 +236,7 @@ struct crom_chunk {
int ref_index;
int offset;
struct {
- u_int32_t crc:16,
- crc_len:16;
+ BIT16x2(crc_len, crc);
u_int32_t buf[CROM_MAX_CHUNK_LEN];
} data;
};
OpenPOWER on IntegriCloud