From owner-cvs-sys Wed Oct 22 19:33:45 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id TAA21526 for cvs-sys-outgoing; Wed, 22 Oct 1997 19:33:45 -0700 (PDT) (envelope-from owner-cvs-sys) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id TAA21332; Wed, 22 Oct 1997 19:30:58 -0700 (PDT) (envelope-from nate@FreeBSD.org) From: Nate Williams Received: (from nate@localhost) by freefall.freebsd.org (8.8.6/8.8.5) id TAA07428; Wed, 22 Oct 1997 19:30:41 -0700 (PDT) Date: Wed, 22 Oct 1997 19:30:41 -0700 (PDT) Message-Id: <199710230230.TAA07428@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-sys@FreeBSD.ORG Subject: cvs commit: src/sys/pccard pccard.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk nate 1997/10/22 19:30:40 PDT Modified files: sys/pccard pccard.c Log: - When doing suspend/resume, only try to suspend those drivers on active slots. Otherwise, we try to suspend drivers who have been disabled already. [ The only reason the drivers are still on the list is because of race conditions where the card is removed while the driver is in use. We leave the drivers on the slot list (leaving all of their structures in place in case a process is using it) but set it's state to empty so that further uses by the pccard code know not to expect active cards. ] Revision Changes Path 1.41 +8 -4 src/sys/pccard/pccard.c