When deciding whether to download the microcode or not look at the API rather
than at the vendor. We have three different Fore cards and only the PCA200 need the microcode. Look also at the RAM address and load the code only if it is not zero. A zero RAM address means either a bug in the driver or this is a interface created by harp(4) in which case fatm(4) handles the microcode issue.
This commit is contained in:
parent
c60987a6eb
commit
a5041c36d3
@ -1036,7 +1036,7 @@ char *argv[];
|
||||
*/
|
||||
air = (struct air_cfg_rsp *)buf;
|
||||
|
||||
if (air->acp_vendor == VENDOR_FORE )
|
||||
if (air->acp_vendapi == VENDAPI_FORE_1 && air->acp_ram != 0)
|
||||
{
|
||||
/*
|
||||
* Create /dev name
|
||||
|
Loading…
Reference in New Issue
Block a user