From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11785 invoked by alias); 24 Sep 2009 14:42:59 -0000 Received: (qmail 11769 invoked by uid 22791); 24 Sep 2009 14:42:58 -0000 X-SWARE-Spam-Status: No, hits=-2.4 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: sourceware.org Received: from lo.gmane.org (HELO lo.gmane.org) (80.91.229.12) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 24 Sep 2009 14:42:54 +0000 Received: from list by lo.gmane.org with local (Exim 4.50) id 1MqpX0-0003qe-Jf for ecos-discuss@sources.redhat.com; Thu, 24 Sep 2009 16:42:50 +0200 Received: from mn-69-34-67-62.sta.embarqhsd.net ([69.34.67.62]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 24 Sep 2009 16:42:50 +0200 Received: from grant.b.edwards by mn-69-34-67-62.sta.embarqhsd.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 24 Sep 2009 16:42:50 +0200 To: ecos-discuss@sources.redhat.com From: Grant Edwards Date: Thu, 24 Sep 2009 14:42:00 -0000 Message-ID: References: <6afa98b0909240334i7536f39drfce21817f2fe686c@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit User-Agent: slrn/pre0.9.9-102 (Linux) X-IsSubscribed: yes Mailing-List: contact ecos-discuss-help@ecos.sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: ecos-discuss-owner@ecos.sourceware.org Subject: [ECOS] Re: connect ethernet cable at run-time X-SW-Source: 2009-09/txt/msg00228.txt.bz2 On 2009-09-24, Lars Dahlin wrote: > I want to be able to connect the ethernet cable and it > shouldn't be necesary to restart ecos. We've been using eCos for 10 years, and we've never found it necessary to restart eCos (or the network stack, or anything else) when the Ethernet link goes down/up. > As far as I know (please correct me if i'm wrong) incoming ip > and arp requests are handled by the thread cyg_netint. It > seems that this thread is put to sleep if the network cable is > not connected. Again, I've never seen that. We connect/disconnect Ethernet cables all the time, and never have to restart anything. We do have code in our Ethernet drivers that makes sure that the Ethernet MAC duplex setting is changed to match the PHY's negotiation results when a cable is plugged in, but I don't think that has anything to do with what you're talking about. -- Grant Edwards grante Yow! Clear the laundromat!! at This whirl-o-matic just had visi.com a nuclear meltdown!! -- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss