From owner-cvs-src@FreeBSD.ORG Mon Dec 26 10:39:22 2005 Return-Path: X-Original-To: cvs-src@FreeBSD.org 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 5365216A41F; Mon, 26 Dec 2005 10:39:22 +0000 (GMT) (envelope-from glebius@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 07FE143D53; Mon, 26 Dec 2005 10:39:22 +0000 (GMT) (envelope-from glebius@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 jBQAdLHK007169; Mon, 26 Dec 2005 10:39:21 GMT (envelope-from glebius@repoman.freebsd.org) Received: (from glebius@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id jBQAdLan007168; Mon, 26 Dec 2005 10:39:21 GMT (envelope-from glebius) Message-Id: <200512261039.jBQAdLan007168@repoman.freebsd.org> From: Gleb Smirnoff Date: Mon, 26 Dec 2005 10:39:21 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/dev/em if_em.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 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: Mon, 26 Dec 2005 10:39:22 -0000 glebius 2005-12-26 10:39:21 UTC FreeBSD src repository Modified files: sys/dev/em if_em.c Log: Add simple suspend and resume methods. We call em_stop() on suspend and em_init() on resume. With this change the network is ready right after resume, without half minute lag. Tested by: Jacques Garrigue Revision Changes Path 1.95 +40 -0 src/sys/dev/em/if_em.c