diff options
author | Andrew Rybchenko <arybchik@FreeBSD.org> | 2015-11-27 15:54:36 +0000 |
---|---|---|
committer | Andrew Rybchenko <arybchik@FreeBSD.org> | 2015-11-27 15:54:36 +0000 |
commit | 3519e25d233461241a6b65ca3370e21b9adb2669 (patch) | |
tree | d190780dc556883f5cfebfbb0cd0ede0ab3fdd55 /sys | |
parent | f765dcf98cc4dc200f71f97cb7dfd9d784fa5d72 (diff) | |
download | src-3519e25d233461241a6b65ca3370e21b9adb2669.tar.gz src-3519e25d233461241a6b65ca3370e21b9adb2669.zip |
sfxge: do not use unnamed union in siena_mc_combo_rom_hdr_t
GCC 4.2.1 used on FreeBSD 8 and 9 branches does not like unnamed
union member in the structure. It is not strictly required in head,
but nice to have to minimize difference with out-of-tree driver.
Sponsored by: Solarflare Communications, Inc.
MFC after: 2 days
Notes
Notes:
svn path=/head/; revision=291391
Diffstat (limited to 'sys')
-rw-r--r-- | sys/dev/sfxge/common/siena_flash.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/sfxge/common/siena_flash.h b/sys/dev/sfxge/common/siena_flash.h index c1ee1c5df920..51e29e71f7e4 100644 --- a/sys/dev/sfxge/common/siena_flash.h +++ b/sys/dev/sfxge/common/siena_flash.h @@ -193,7 +193,7 @@ typedef struct siena_mc_combo_rom_hdr_s { /* GENERATED BY scripts/genfwdef */ efx_byte_t infoblk_len;/* length of space reserved for one infoblk structure */ efx_byte_t reserved[7];/* (set to 0) */ } v2; - }; + } data; } siena_mc_combo_rom_hdr_t; #pragma pack() |