Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Tue, 1 Oct 2002 12:41:38 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Tue, 1 Oct 2002 12:41:38 -0400 Received: from 200-184-71-82.chies.com.br ([200.184.71.82]:63090 "EHLO elipse.com.br") by vger.kernel.org with ESMTP id ; Tue, 1 Oct 2002 12:41:09 -0400 Message-ID: <029401c2696a$9adc8bb0$1c00a8c0@elipse.com.br> Reply-To: "Felipe W Damasio" From: "Felipe W Damasio" To: "Kent Yoder" , "Jeff Garzik" Cc: , References: Subject: Re: [PATCH] pcnet32 cable status check Date: Tue, 1 Oct 2002 13:50:10 -0300 Organization: Elipse Software MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 X-OriginalArrivalTime: 01 Oct 2002 16:50:10.0546 (UTC) FILETIME=[9ADD9D20:01C2696A] Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1035 Lines: 30 ----- Original Message ----- From: "Kent Yoder" To: "Jeff Garzik" Cc: ; Sent: Tuesday, October 01, 2002 1:34 PM Subject: Re: [PATCH] pcnet32 cable status check > > Hi, > > Here's the updated version, now dependent on Jeff's new mii code. This is > a bit more modular as well and new functionality can be added inside the > watchdog function without anything depending on mii. You should use netif_carrier_{on|off} to notify the upper layer of a link change/loss (until the otherwise is true). Check the 8139cp driver. Also, you shouldn't need the timer stuff to keep track of link change. Just the mii_check_media and netif_carrier_{on|off} and you should be fine. Felipe - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/