From owner-cvs-src-old@FreeBSD.ORG Sat Oct 25 18:18:10 2008 Return-Path: Delivered-To: cvs-src-old@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 18166106567B for ; Sat, 25 Oct 2008 18:18:10 +0000 (UTC) (envelope-from yongari@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id E0EBF8FC0C for ; Sat, 25 Oct 2008 18:18:09 +0000 (UTC) (envelope-from yongari@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.3/8.14.3) with ESMTP id m9PII9va001557 for ; Sat, 25 Oct 2008 18:18:09 GMT (envelope-from yongari@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.3/8.14.3/Submit) id m9PII9S5001556 for cvs-src-old@freebsd.org; Sat, 25 Oct 2008 18:18:09 GMT (envelope-from yongari@repoman.freebsd.org) Message-Id: <200810251818.m9PII9S5001556@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to yongari@repoman.freebsd.org using -f From: Pyun YongHyeon Date: Sat, 25 Oct 2008 03:41:36 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/pci if_rl.c X-BeenThere: cvs-src-old@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: **OBSOLETE** CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 25 Oct 2008 18:18:10 -0000 yongari 2008-10-25 03:41:36 UTC FreeBSD src repository Modified files: sys/pci if_rl.c Log: SVN rev 184245 on 2008-10-25 03:41:36Z by yongari Implement miibus_statchg handler. It detects whether rl(4) established a valid link or not. In rl_start_locked, don't try to send packets unless we have valid link. While I'm here add a check that verifies whether driver can accept Tx requests by inspecting IFF_DRV_OACTIVE/IFF_DRV_RUNNING flag. Revision Changes Path 1.180 +34 -0 src/sys/pci/if_rl.c