From owner-freebsd-hackers Thu Jun 8 19:13:16 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from smtp02.teb1.iconnet.net (smtp02.teb1.iconnet.net [209.3.218.43]) by hub.freebsd.org (Postfix) with ESMTP id 3AB8B37BD2C; Thu, 8 Jun 2000 19:13:08 -0700 (PDT) (envelope-from babkin@bellatlantic.net) Received: from bellatlantic.net (client-151-198-135-17.nnj.dialup.bellatlantic.net [151.198.135.17]) by smtp02.teb1.iconnet.net (8.9.1/8.9.1) with ESMTP id WAA17857; Thu, 8 Jun 2000 22:12:56 -0400 (EDT) Message-ID: <394052CC.E162CA2A@bellatlantic.net> Date: Thu, 08 Jun 2000 22:13:32 -0400 From: Sergey Babkin X-Mailer: Mozilla 4.7 [en] (X11; U; FreeBSD 4.0-19990626-CURRENT i386) X-Accept-Language: ru, en MIME-Version: 1.0 To: Wes Peters Cc: Mike Smith , Coleman Kane , "Brech, Cary" , freebsd-hackers@FreeBSD.ORG, mblott@lucent.com, "Savio, Florie N" , Alfred Perlstein , freebsd-questions@FreeBSD.ORG Subject: Re: FreeBSD Support of Hot Swappable NICs References: <200006080227.TAA04108@mass.cdrom.com> <394035B6.2CA42384@softweyr.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Wes Peters wrote: > > Mike Smith wrote: > > > > Actually, there's still a *lot* of work that has to be done to make this > > work "right" - let me say two things only: > > > > "resource allocation" > > > > "interrupt routing" > > And that's just the start. When it comes to network interfaces, trying > to unthread them from the system in a small, fixed amount of time like > will be required for hot-eject on CPCI, CardBus, etc., is really fugly. Maybe it can be solved in two steps: 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. -SB To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message