From owner-cvs-src@FreeBSD.ORG Mon Aug 25 11:20:04 2003 Return-Path: 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 08BF016A4BF; Mon, 25 Aug 2003 11:20:04 -0700 (PDT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9A1FC43FE0; Mon, 25 Aug 2003 11:20:03 -0700 (PDT) (envelope-from imp@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 h7PIK30U081678; Mon, 25 Aug 2003 11:20:03 -0700 (PDT) (envelope-from imp@repoman.freebsd.org) Received: (from imp@localhost) by repoman.freebsd.org (8.12.6/8.12.6/Submit) id h7PIK3wW081677; Mon, 25 Aug 2003 11:20:03 -0700 (PDT) Message-Id: <200308251820.h7PIK3wW081677@repoman.freebsd.org> From: Warner Losh Date: Mon, 25 Aug 2003 11:20:03 -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/dev/pccard pccard.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 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, 25 Aug 2003 18:20:04 -0000 imp 2003/08/25 11:20:03 PDT FreeBSD src repository Modified files: sys/dev/pccard pccard.c Log: Probe routines can return < 0 for speculative matches. In the compatibility routine, go ahead and accept that as 'success'. A properly written compatible driver should return < 0 for both the compat match and compat probe routines, so this will wind up doing the right thing. Revision Changes Path 1.83 +1 -1 src/sys/dev/pccard/pccard.c