• B
    myri10ge: replace the chipset whitelist with firmware autodetection · 5443e9ea
    Brice Goglin 提交于
    Remove the aligned-completion whitelist, and replace it by using the 1.4.16
    firmware's auto-detection features to choose which firmware to load.
    The driver now loads the aligned firmware, performs a MXGEFW_CMD_UNALIGNED_TEST,
    and falls back to using the unaligned firmware if:
    - The firmware is too old (ie, MXGEFW_CMD_UNALIGNED_TEST is an unknown command).
    - The MXGEFW_CMD_UNALIGNED_TEST returns MXGEFW_CMD_ERROR_UNALIGNED, meaning
      that it has seen an unaligned completion during the DMA test.
    Signed-off-by: NBrice Goglin <brice@myri.com>
    Signed-off-by: NJeff Garzik <jeff@garzik.org>
    5443e9ea
myri10ge.c 87.1 KB