From owner-cvs-sys Tue Oct 28 09:53:34 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id JAA07630 for cvs-sys-outgoing; Tue, 28 Oct 1997 09:53:34 -0800 (PST) (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 JAA07428; Tue, 28 Oct 1997 09:51:03 -0800 (PST) (envelope-from nate@FreeBSD.org) From: Nate Williams Received: (from nate@localhost) by freefall.freebsd.org (8.8.6/8.8.5) id JAA20236; Tue, 28 Oct 1997 09:50:46 -0800 (PST) Date: Tue, 28 Oct 1997 09:50:46 -0800 (PST) Message-Id: <199710281750.JAA20236@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-sys@FreeBSD.ORG Subject: cvs commit: src/sys/pccard card.h pccard.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk nate 1997/10/28 09:50:46 PST Modified files: sys/pccard card.h pccard.c Log: - Disable cards when doing a suspend by emulating that they have been removed. Add a new state 'suspend' so we 'fake' insertion events at resume time for the cards that have been suspended. [ The code still works if you remove the card during suspend, switch the card during suspend, or combinations of both. ] Reviewed by: frf@xocolatl.com Revision Changes Path 1.8 +1 -1 src/sys/pccard/card.h 1.51 +11 -8 src/sys/pccard/pccard.c