mirror of
https://git.FreeBSD.org/src.git
synced 2024-10-20 02:38:43 +00:00
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
a327640a9e
commit
ec6d8361cd
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=118013
@ -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