Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 14 Jun 2000 10:43:15 -0600
From:      Warner Losh <imp@village.org>
To:        Sergey Babkin <babkin@bellatlantic.net>
Cc:        freebsd-hackers@FreeBSD.ORG
Subject:   Re: FreeBSD Support of Hot Swappable NICs 
Message-ID:  <200006141643.KAA22157@harmony.village.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> 

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200006141643.KAA22157>