From owner-freebsd-current Fri Nov 2 9:25:23 2001 Delivered-To: freebsd-current@freebsd.org Received: from rover.village.org (rover.bsdimp.com [204.144.255.66]) by hub.freebsd.org (Postfix) with ESMTP id 9E5CE37B403 for ; Fri, 2 Nov 2001 09:25:19 -0800 (PST) Received: from harmony.village.org (harmony.village.org [10.0.0.6]) by rover.village.org (8.11.3/8.11.3) with ESMTP id fA2HPIV25723; Fri, 2 Nov 2001 10:25:18 -0700 (MST) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (localhost [127.0.0.1]) by harmony.village.org (8.11.6/8.11.6) with ESMTP id fA2HPI762258; Fri, 2 Nov 2001 10:25:18 -0700 (MST) (envelope-from imp@harmony.village.org) Message-Id: <200111021725.fA2HPI762258@harmony.village.org> To: Munehiro Matsuda Subject: Re: Panic with PCCARD Cc: t-ogawa@triaez.kaisei.org, freebsd-current@FreeBSD.ORG In-reply-to: Your message of "Sat, 03 Nov 2001 00:56:10 +0900." <20011103005610L.haro@h4.dion.ne.jp> References: <20011103005610L.haro@h4.dion.ne.jp> <20011102010512I.haro@h4.dion.ne.jp> <867kt9v774.wl.t-ogawa@triaez.kaisei.org> Date: Fri, 02 Nov 2001 10:25:18 -0700 From: Warner Losh Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG In message <20011103005610L.haro@h4.dion.ne.jp> Munehiro Matsuda writes: : ::- Let pccardd(8) pass -1 as unit number for : :: pccard.conf entries without unit number ... : ::--- usr.sbin/pccard/pccardd/file.c.orig Fri Nov 2 17:16:58 2001 : ::+++ usr.sbin/pccard/pccardd/file.c Fri Nov 2 17:17:17 2001 : ::@@ -573,6 +573,7 @@ : :: drivers = drvp; : :: drvp->name = newstr(name); : :: drvp->kernel = newstr(name); : ::+ drvp->unit = -1; : :: p = drvp->kernel; : :: while (*p++) : :: if (*p >= '0' && *p <= '9') { I think this is OK. At first I thought there were problems, but on closer look, it is right. I'll commit these. Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message