• Edward Cree's avatar
    sfc_ef100: fail the probe if NIC uses unsol_ev credits · 4496363b
    Edward Cree authored
    In the future, EF100 is planned to have a credit-based scheme for
     handling unsolicited events, which drivers will need to use in order
     to function correctly.  However, current EF100 hardware does not yet
     generate unsolicited events and the credit scheme has not yet been
     implemented in firmware.  To prevent compatibility problems later if
     the current driver is used with future firmware which does implement
     it, we check for the corresponding capability flag (which that
     future firmware will set), and if found, we refuse to probe.
    Signed-off-by: default avatarEdward Cree <ecree@solarflare.com>
    Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
    4496363b
ef100_nic.c 16.8 KB