diff options
author | harti <harti@FreeBSD.org> | 2003-07-25 12:40:03 +0000 |
---|---|---|
committer | harti <harti@FreeBSD.org> | 2003-07-25 12:40:03 +0000 |
commit | a5041c36d39444d6c4947e17927551db1d7e704d (patch) | |
tree | e9755a7bf7df8e3128ba92a8c33e59c1f6af8221 /sbin/atm | |
parent | c60987a6ebb76264c102a822cf5e19719e03fe94 (diff) | |
download | FreeBSD-src-a5041c36d39444d6c4947e17927551db1d7e704d.zip FreeBSD-src-a5041c36d39444d6c4947e17927551db1d7e704d.tar.gz |
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.
Diffstat (limited to 'sbin/atm')
-rw-r--r-- | sbin/atm/fore_dnld/fore_dnld.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sbin/atm/fore_dnld/fore_dnld.c b/sbin/atm/fore_dnld/fore_dnld.c index 22ce59e..aefb304 100644 --- a/sbin/atm/fore_dnld/fore_dnld.c +++ b/sbin/atm/fore_dnld/fore_dnld.c @@ -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 |