diff options
author | np <np@FreeBSD.org> | 2013-07-03 23:52:15 +0000 |
---|---|---|
committer | np <np@FreeBSD.org> | 2013-07-03 23:52:15 +0000 |
commit | d57fff39870254b2d8d537f69ae5ebc1142ab6df (patch) | |
tree | 597a994c29e206e7d1812c5981896e494d43a641 /sys/dev/cxgbe/t4_main.c | |
parent | c0361090f3b06ca4a549ca5e3da0756d5bcb618a (diff) | |
download | FreeBSD-src-d57fff39870254b2d8d537f69ae5ebc1142ab6df.zip FreeBSD-src-d57fff39870254b2d8d537f69ae5ebc1142ab6df.tar.gz |
- Include the T5 firmware with the driver.
- Update the T4 firmware to the latest.
- Minor reorganization and updates to the version macros, etc.
Obtained from: Chelsio
MFC after: 1 day
Diffstat (limited to 'sys/dev/cxgbe/t4_main.c')
-rw-r--r-- | sys/dev/cxgbe/t4_main.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/sys/dev/cxgbe/t4_main.c b/sys/dev/cxgbe/t4_main.c index a9c962b..1303299 100644 --- a/sys/dev/cxgbe/t4_main.c +++ b/sys/dev/cxgbe/t4_main.c @@ -1826,11 +1826,11 @@ allocate: } #define FW_VERSION(chip) ( \ - V_FW_HDR_FW_VER_MAJOR(FW_VERSION_MAJOR_##chip) | \ - V_FW_HDR_FW_VER_MINOR(FW_VERSION_MINOR_##chip) | \ - V_FW_HDR_FW_VER_MICRO(FW_VERSION_MICRO_##chip) | \ - V_FW_HDR_FW_VER_BUILD(FW_VERSION_BUILD_##chip)) -#define FW_INTFVER(chip, intf) (FW_HDR_INTFVER_##intf) + V_FW_HDR_FW_VER_MAJOR(chip##FW_VERSION_MAJOR) | \ + V_FW_HDR_FW_VER_MINOR(chip##FW_VERSION_MINOR) | \ + V_FW_HDR_FW_VER_MICRO(chip##FW_VERSION_MICRO) | \ + V_FW_HDR_FW_VER_BUILD(chip##FW_VERSION_BUILD)) +#define FW_INTFVER(chip, intf) (chip##FW_HDR_INTFVER_##intf) struct fw_info { uint8_t chip; |