From owner-cvs-src@FreeBSD.ORG Tue Jan 3 20:39:39 2006 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 31C6B16A41F; Tue, 3 Jan 2006 20:39:39 +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 D72FA43D5D; Tue, 3 Jan 2006 20:39:38 +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 k03Kdc9B015371; Tue, 3 Jan 2006 20:39:38 GMT (envelope-from jhb@repoman.freebsd.org) Received: (from jhb@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id k03Kdc9V015370; Tue, 3 Jan 2006 20:39:38 GMT (envelope-from jhb) Message-Id: <200601032039.k03Kdc9V015370@repoman.freebsd.org> From: John Baldwin Date: Tue, 3 Jan 2006 20:39:38 +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/i386/ibcs2 ibcs2_sysvec.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: Tue, 03 Jan 2006 20:39:39 -0000 jhb 2006-01-03 20:39:38 UTC FreeBSD src repository Modified files: sys/i386/ibcs2 ibcs2_sysvec.c Log: Fix a couple of issues with the ibcs2 module event handler. First, return success instead of EOPNOTSUPP when being loaded. Secondly, if there are no ibcs2 processes running when a MOD_UNLOAD request is made, break out to return success instead of falling through into the default case which returns EOPNOTSUPP. With these fixes, I can now kldload and subsequently kldunload the ibcs2 module. PR: kern/82026 (and several duplicates) Reported by: lots of folks MFC after: 1 week Revision Changes Path 1.31 +4 -1 src/sys/i386/ibcs2/ibcs2_sysvec.c