From owner-cvs-src@FreeBSD.ORG Fri Jul 25 05:40:04 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B9DED37B401; Fri, 25 Jul 2003 05:40:04 -0700 (PDT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5417543F85; Fri, 25 Jul 2003 05:40:04 -0700 (PDT) (envelope-from harti@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.6/8.12.6) with ESMTP id h6PCe40U015994; Fri, 25 Jul 2003 05:40:04 -0700 (PDT) (envelope-from harti@repoman.freebsd.org) Received: (from harti@localhost) by repoman.freebsd.org (8.12.6/8.12.6/Submit) id h6PCe3xH015993; Fri, 25 Jul 2003 05:40:03 -0700 (PDT) Message-Id: <200307251240.h6PCe3xH015993@repoman.freebsd.org> From: Hartmut Brandt Date: Fri, 25 Jul 2003 05:40:03 -0700 (PDT) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sbin/atm/fore_dnld fore_dnld.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Jul 2003 12:40:05 -0000 harti 2003/07/25 05:40:03 PDT FreeBSD src repository Modified files: sbin/atm/fore_dnld fore_dnld.c Log: 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. Revision Changes Path 1.10 +3 -3 src/sbin/atm/fore_dnld/fore_dnld.c