From owner-cvs-all@FreeBSD.ORG Mon Sep 26 18:42:28 2005 Return-Path: X-Original-To: cvs-all@FreeBSD.org 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 2BD7016A41F; Mon, 26 Sep 2005 18:42:28 +0000 (GMT) (envelope-from jhb@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id E754C43D49; Mon, 26 Sep 2005 18:42:27 +0000 (GMT) (envelope-from jhb@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 j8QIgRx8017641; Mon, 26 Sep 2005 18:42:27 GMT (envelope-from jhb@repoman.freebsd.org) Received: (from jhb@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id j8QIgRme017640; Mon, 26 Sep 2005 18:42:27 GMT (envelope-from jhb) Message-Id: <200509261842.j8QIgRme017640@repoman.freebsd.org> From: John Baldwin Date: Mon, 26 Sep 2005 18:42:27 +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/pci if_sis.c if_sisreg.h X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 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: Mon, 26 Sep 2005 18:42:28 -0000 jhb 2005-09-26 18:42:27 UTC FreeBSD src repository Modified files: sys/pci if_sis.c if_sisreg.h Log: Small fixes to sis(4): - Remove sis_unit and use device_printf() and if_printf() instead. - Use callout_init_mtx() for the callout. - Remove spls. - Fix locking for ifmedia to happen in the ifmedia handlers rather than in sis_ioctl(). - Log an error message if we fail to allocate any resources. Perform cleanup if we fail to allocate any resources so that we don't leave a mutex hanging around. Tested by: Jason Tsai jason dot tsai at newcyberian dot com (1-4) MFC after: 3 days Revision Changes Path 1.139 +33 -43 src/sys/pci/if_sis.c 1.36 +0 -1 src/sys/pci/if_sisreg.h