From owner-cvs-src@FreeBSD.ORG Sun Mar 13 18:59:23 2005 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 C07DE16A4CE; Sun, 13 Mar 2005 18:59:23 +0000 (GMT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id A930D43D5A; Sun, 13 Mar 2005 18:59:23 +0000 (GMT) (envelope-from mux@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.1/8.13.1) with ESMTP id j2DIxNVe072416; Sun, 13 Mar 2005 18:59:23 GMT (envelope-from mux@repoman.freebsd.org) Received: (from mux@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id j2DIxNZP072415; Sun, 13 Mar 2005 18:59:23 GMT (envelope-from mux) Message-Id: <200503131859.j2DIxNZP072415@repoman.freebsd.org> From: Maxime Henrion Date: Sun, 13 Mar 2005 18:59:23 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: RELENG_4 Subject: cvs commit: src/sys/dev/fxp if_fxp.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: Sun, 13 Mar 2005 18:59:23 -0000 mux 2005-03-13 18:59:23 UTC FreeBSD src repository Modified files: (Branch: RELENG_4) sys/dev/fxp if_fxp.c Log: MFC if_fxp.c revision 1.224: revision 1.224 date: 2005/02/27 15:12:50; author: mux; state: Exp; lines: +10 -10 Fix a stupid bogon from myself, sc->revision wasn't initialized when testing it to know whether we should enable the 82503 serial mode... Move code to the right location and disallow the use of the 82503 serial mode if the sc->revision field is 0 again. This makes fxp(4) work correctly with ATMEL 350 93C46 cards (3 port 82559 based with a 82555 PHY), as well as with the older ATMEL 220 93C46 (same flavour) and with the even older 10Mbps-only 82557 cards with the 82503 serial interface. Tested by: Andre Albsmeier , krion Revision Changes Path 1.110.2.38 +10 -10 src/sys/dev/fxp/if_fxp.c