From patchwork Wed Jun 19 22:26:14 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sergei Shtylyov X-Patchwork-Id: 2752311 Return-Path: X-Original-To: patchwork-linux-sh@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 435D69F8E1 for ; Wed, 19 Jun 2013 22:26:17 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 5DB1720298 for ; Wed, 19 Jun 2013 22:26:16 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 884BA20295 for ; Wed, 19 Jun 2013 22:26:15 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S935269Ab3FSW0P (ORCPT ); Wed, 19 Jun 2013 18:26:15 -0400 Received: from mail-lb0-f170.google.com ([209.85.217.170]:61990 "EHLO mail-lb0-f170.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S934961Ab3FSW0O (ORCPT ); Wed, 19 Jun 2013 18:26:14 -0400 Received: by mail-lb0-f170.google.com with SMTP id t13so5165792lbd.29 for ; Wed, 19 Jun 2013 15:26:13 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=to:subject:cc:from:organization:date:mime-version:content-type :content-transfer-encoding:message-id:x-gm-message-state; bh=O/TEkFZxzPgV3RoQfK4S65x3WtnXexImnf2Ta3N8t4Q=; b=TuY7tNlov7RPF1PJj9EuQnXnFVZmuO3hZMpP+zt1HjE+zi2C5xTU0gKkRcOzafVWVQ Dr56Y+st+PUvlI7jEwKwOF6ctmnxmRTWMdntLQdpI96NxlnNZjCcUDydTABd2/aHWto/ ANW6M7/yvWv2O+3g7mn5LyFD8M4BU+Zo/ocf2r1YLBN/Y4hyn/7VeFckg7Ft18xr+MBk TabPgkAw47wOxTnLOcy+nWNWMQttl/W6VnPLRv1z0nzhn/uWobdAjw7vOSm+HqraHSuL aWYSUazAkFfhFDaDT21tiByyRwhq8zWc8ClPFXetQriugvbtuuobYkg+a58S8ugk9pgT o5wQ== X-Received: by 10.152.3.7 with SMTP id 7mr2293968lay.66.1371680773010; Wed, 19 Jun 2013 15:26:13 -0700 (PDT) Received: from wasted.dev.rtsoft.ru (ppp91-76-156-235.pppoe.mtu-net.ru. [91.76.156.235]) by mx.google.com with ESMTPSA id e9sm9610239lbj.3.2013.06.19.15.26.11 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Wed, 19 Jun 2013 15:26:12 -0700 (PDT) To: netdev@vger.kernel.org Subject: [PATCH 3/3] sh_eth: cleanup 'enum TD_STS_BIT' Cc: nobuhiro.iwamatsu.yj@renesas.com, linux-sh@vger.kernel.org From: Sergei Shtylyov Organization: Cogent Embedded Date: Thu, 20 Jun 2013 02:26:14 +0400 MIME-Version: 1.0 Message-Id: <201306200226.15228.sergei.shtylyov@cogentembedded.com> X-Gm-Message-State: ALoCoQnm9tJxKzU84yG2JxFrlMyHGBQFQ00SM+204B4C96pEFHdKmsKFq4wOwpYtRxLCSKe9I5wd Sender: linux-sh-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-sh@vger.kernel.org X-Spam-Status: No, score=-8.2 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Fix the comment to 'enum TD_STS_BIT', reformat the values, and add a couple of values missing before (though unused by the driver). Signed-off-by: Sergei Shtylyov --- The patch is against the Dave Miller's 'net-next.git' repo plus the NAPI patches that I've reposted yesterday. drivers/net/ethernet/renesas/sh_eth.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) -- To unsubscribe from this list: send the line "unsubscribe linux-sh" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Index: net-next/drivers/net/ethernet/renesas/sh_eth.h =================================================================== --- net-next.orig/drivers/net/ethernet/renesas/sh_eth.h +++ net-next/drivers/net/ethernet/renesas/sh_eth.h @@ -302,11 +302,11 @@ enum FCFTR_BIT { #define DEFAULT_FIFO_F_D_RFF (FCFTR_RFF2 | FCFTR_RFF1 | FCFTR_RFF0) #define DEFAULT_FIFO_F_D_RFD (FCFTR_RFD2 | FCFTR_RFD1 | FCFTR_RFD0) -/* Transfer descriptor bit */ +/* Transmit descriptor bit */ enum TD_STS_BIT { - TD_TACT = 0x80000000, - TD_TDLE = 0x40000000, TD_TFP1 = 0x20000000, - TD_TFP0 = 0x10000000, + TD_TACT = 0x80000000, TD_TDLE = 0x40000000, + TD_TFP1 = 0x20000000, TD_TFP0 = 0x10000000, + TD_TFE = 0x08000000, TD_TWBI = 0x04000000, }; #define TDF1ST TD_TFP1 #define TDFEND TD_TFP0