From owner-freebsd-hackers Wed Jun 14 9:44:34 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from rover.village.org (rover.village.org [204.144.255.49]) by hub.freebsd.org (Postfix) with ESMTP id 1E42037C001 for ; Wed, 14 Jun 2000 09:44:30 -0700 (PDT) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (harmony.village.org [10.0.0.6]) by rover.village.org (8.9.3/8.9.3) with ESMTP id KAA12109; Wed, 14 Jun 2000 10:44:29 -0600 (MDT) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (localhost.village.org [127.0.0.1]) by harmony.village.org (8.9.3/8.8.3) with ESMTP id KAA22157; Wed, 14 Jun 2000 10:43:15 -0600 (MDT) Message-Id: <200006141643.KAA22157@harmony.village.org> To: Sergey Babkin Subject: Re: FreeBSD Support of Hot Swappable NICs Cc: freebsd-hackers@FreeBSD.ORG In-reply-to: Your message of "Thu, 08 Jun 2000 22:13:32 EDT." <394052CC.E162CA2A@bellatlantic.net> References: <394052CC.E162CA2A@bellatlantic.net> <200006080227.TAA04108@mass.cdrom.com> <394035B6.2CA42384@softweyr.com> Date: Wed, 14 Jun 2000 10:43:15 -0600 From: Warner Losh Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In message <394052CC.E162CA2A@bellatlantic.net> Sergey Babkin writes: : 1. When the card is physically removed inform the driver that it : should shut down and don't try to get to the card afterwards. That means : it would handle some subset of configuration requests and delay or : throw away any data transfer requests. : : 2. Later take any neccessary amount of time to clean up the things. We've been through this on the pccard stuff. In that case, you have a few milliseconds to cease all access to the hardware. In the CPCI case you'd have on the order of a second. The CPCI spec says that a board shall have a led and a removal switch. The removal switch is put into the remove position, and the user is supposed to wait for the led to light (or was that go out) before removing the card. Even if he/she/it doesn't, it will take about a second to remove the card after frobbing the switch. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message