From owner-cvs-all Fri Dec 10 9:49:17 1999 Delivered-To: cvs-all@freebsd.org Received: from ns.mt.sri.com (ns.mt.sri.com [206.127.79.91]) by hub.freebsd.org (Postfix) with ESMTP id 8061814FD9; Fri, 10 Dec 1999 09:49:06 -0800 (PST) (envelope-from nate@mt.sri.com) Received: from mt.sri.com (rocky.mt.sri.com [206.127.76.100]) by ns.mt.sri.com (8.9.3/8.9.3) with SMTP id KAA23874; Fri, 10 Dec 1999 10:49:05 -0700 (MST) (envelope-from nate@rocky.mt.sri.com) Received: by mt.sri.com (SMI-8.6/SMI-SVR4) id KAA19687; Fri, 10 Dec 1999 10:49:04 -0700 Date: Fri, 10 Dec 1999 10:49:04 -0700 Message-Id: <199912101749.KAA19687@mt.sri.com> From: Nate Williams MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: Warner Losh Cc: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/usr.sbin/pccard/pccardd cardd.c In-Reply-To: <199912080747.XAA47581@freefall.freebsd.org> References: <199912080747.XAA47581@freefall.freebsd.org> X-Mailer: VM 6.34 under 19.16 "Lille" XEmacs Lucid Reply-To: nate@mt.sri.com (Nate Williams) Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk > Modified files: > usr.sbin/pccard/pccardd cardd.c > Log: > If last state was supended, remove the card. This is a kludge, there > is a race here that the old code didn't deal with, and I'm not > completely sure this is the right way to solve it, but it works here. > > Should get rid of the dreaded "No free configuration for card" message. I haven't looked at the code, but Guido and I messed around trying to find out a good way of doing this for quite a while. There are a number of subtle races and interactions that make this code extremely fragile, but I certainly hope you were able to get this fixed! Nate To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message