From patchwork Mon Mar 21 01:52:15 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Philip Prindeville X-Patchwork-Id: 87685 X-Patchwork-Delegate: davem@davemloft.net Return-Path: X-Original-To: patchwork-incoming@ozlabs.org Delivered-To: patchwork-incoming@ozlabs.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 27584B6F11 for ; Mon, 21 Mar 2011 12:52:46 +1100 (EST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751862Ab1CUBwd (ORCPT ); Sun, 20 Mar 2011 21:52:33 -0400 Received: from mail.redfish-solutions.com ([66.232.79.143]:49099 "EHLO mail.redfish-solutions.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751793Ab1CUBwc (ORCPT ); Sun, 20 Mar 2011 21:52:32 -0400 Received: from Philip-Prindevilles-MacBook-Pro.local (pool-71-111-135-49.ptldor.dsl-w.verizon.net [71.111.135.49]) (authenticated bits=0) by mail.redfish-solutions.com (8.14.4/8.14.4) with ESMTP id p2L1qFam017608 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO); Sun, 20 Mar 2011 19:52:22 -0600 Message-ID: <4D86AF4F.5010203@redfish-solutions.com> Date: Sun, 20 Mar 2011 18:52:15 -0700 From: Philip Prindeville User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2.15) Gecko/20110303 Thunderbird/3.1.9 MIME-Version: 1.0 To: Netdev CC: "linux-atm-general@lists.sourceforge.net" Subject: [PATCH v2 1/1] solos-pci: Fix regression introduced by newest firmware X-Scanned-By: MIMEDefang 2.72 on 192.168.1.3 Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org The newest FPGA firmware on the Solos processors correctly signals carrier transitions, bitrate, etc. The driver previously ignored these messages, and the physical state was always ATM_PHY_SIG_UNKNOWN. Now that the board reports its state, we expose a bug whereby the transition from UNKNOWN to LOST causes us to release all VC's. We don't delete any VC's, but instead just send an indication of carrier change. Signed-off-by: Philip A Prindeville --- -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html --- a/drivers/atm/solos-pci.c 2011-03-20 15:27:40.000000000 -0600 +++ b/drivers/atm/solos-pci.c 2011-03-20 16:32:11.000000000 -0600 @@ -382,8 +382,10 @@ static int process_status(struct solos_c /* Anything but 'Showtime' is down */ if (strcmp(state_str, "Showtime")) { atm_dev_signal_change(card->atmdev[port], ATM_PHY_SIG_LOST); +#if 0 atm_dev_release_vccs(card->atmdev[port]); +#endif dev_info(&card->dev->dev, "Port %d: %s\n", port, state_str); return 0; }