From owner-cvs-src@FreeBSD.ORG Sun Mar 13 18:56:09 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 40C5316A4CE; Sun, 13 Mar 2005 18:56:09 +0000 (GMT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 28B9843D48; Sun, 13 Mar 2005 18:56:09 +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 j2DIu84L072241; Sun, 13 Mar 2005 18:56:09 GMT (envelope-from mux@repoman.freebsd.org) Received: (from mux@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id j2DIu8jZ072240; Sun, 13 Mar 2005 18:56:08 GMT (envelope-from mux) Message-Id: <200503131856.j2DIu8jZ072240@repoman.freebsd.org> From: Maxime Henrion Date: Sun, 13 Mar 2005 18:56:08 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: RELENG_5 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:56:09 -0000 mux 2005-03-13 18:56:08 UTC FreeBSD src repository Modified files: (Branch: RELENG_5) 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 Approved by: re@ (kensmith) Revision Changes Path 1.217.2.8 +10 -10 src/sys/dev/fxp/if_fxp.c