diff options
Diffstat (limited to 'sys/dev/firewire/fwohcireg.h')
-rw-r--r-- | sys/dev/firewire/fwohcireg.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sys/dev/firewire/fwohcireg.h b/sys/dev/firewire/fwohcireg.h index 2cccb25..32b029c 100644 --- a/sys/dev/firewire/fwohcireg.h +++ b/sys/dev/firewire/fwohcireg.h @@ -396,8 +396,13 @@ struct fwohci_txpkthdr{ }mode; }; struct fwohci_trailer{ +#if BYTE_ORDER == BIG_ENDIAN + uint32_t stat:16, + time:16; +#else uint32_t time:16, stat:16; +#endif }; #define OHCI_CNTL_CYCSRC (0x1 << 22) |