summaryrefslogtreecommitdiffstats
path: root/sys/dev/firewire/iec13213.h
diff options
context:
space:
mode:
authorsimokawa <simokawa@FreeBSD.org>2003-06-16 08:29:24 +0000
committersimokawa <simokawa@FreeBSD.org>2003-06-16 08:29:24 +0000
commitd30e2638a51d8f802f0719a0f8f03f00463b0c6a (patch)
tree8860f0a0d3d30e7ba753bdfc1aed74e75632caf2 /sys/dev/firewire/iec13213.h
parent6bc6b7ee8b511b2c9828fd11f4fc416b636ee156 (diff)
downloadFreeBSD-src-d30e2638a51d8f802f0719a0f8f03f00463b0c6a.zip
FreeBSD-src-d30e2638a51d8f802f0719a0f8f03f00463b0c6a.tar.gz
Fix for big endian.
Diffstat (limited to 'sys/dev/firewire/iec13213.h')
-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