Skip to content
  • Brice Goglin's avatar
    myri10ge: replace the chipset whitelist with firmware autodetection · 5443e9ea
    Brice Goglin authored
    
    
    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: default avatarBrice Goglin <brice@myri.com>
    Signed-off-by: default avatarJeff Garzik <jeff@garzik.org>
    5443e9ea