From owner-cvs-all@FreeBSD.ORG Mon Jul 21 18:35:10 2003 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8AE3737B401; Mon, 21 Jul 2003 18:35:10 -0700 (PDT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id E3ED443F85; Mon, 21 Jul 2003 18:35:09 -0700 (PDT) (envelope-from cognet@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 h6M1Z90U026346; Mon, 21 Jul 2003 18:35:09 -0700 (PDT) (envelope-from cognet@repoman.freebsd.org) Received: (from cognet@localhost) by repoman.freebsd.org (8.12.6/8.12.6/Submit) id h6M1Z9q5026345; Mon, 21 Jul 2003 18:35:09 -0700 (PDT) Message-Id: <200307220135.h6M1Z9q5026345@repoman.freebsd.org> From: Olivier Houchard Date: Mon, 21 Jul 2003 18:35:09 -0700 (PDT) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/pci if_sis.c if_sisreg.h X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Jul 2003 01:35:10 -0000 cognet 2003/07/21 18:35:09 PDT FreeBSD src repository Modified files: sys/pci if_sis.c if_sisreg.h Log: Erm, my previous commit was wrong and sis_tick() was only called each time sis_ioctl() was called, so one had to use ifconfig each time the cable got plugged in to be able to use the connection. Do it a better way now, add a "in_tick" field in the softc structure, call timeout() in sis_tick() and don't call it in sis_init() if in_tick is non-zero. Reported by: Landmark Networks Pointy hat to: cognet Revision Changes Path 1.79 +5 -1 src/sys/pci/if_sis.c 1.22 +1 -0 src/sys/pci/if_sisreg.h