From patchwork Wed Aug 31 15:35:28 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mark Einon X-Patchwork-Id: 112580 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 09348B6F18 for ; Thu, 1 Sep 2011 01:36:53 +1000 (EST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756574Ab1HaPgs (ORCPT ); Wed, 31 Aug 2011 11:36:48 -0400 Received: from mail-wy0-f174.google.com ([74.125.82.174]:38233 "EHLO mail-wy0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755737Ab1HaPgr (ORCPT ); Wed, 31 Aug 2011 11:36:47 -0400 Received: by wyh22 with SMTP id 22so244587wyh.19 for ; Wed, 31 Aug 2011 08:36:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=from:to:cc:subject:date:message-id:x-mailer; bh=ZSFrllRTfL5QxGjV6jfr1Ramv2fJTqNYO34AW2cDklI=; b=C2z44Z888fzb0Gva6ZguiG9gednjCnhL71skR9xTndJ1NHaYKSFNjulTZEuKjMhKkP itDfZeSI4DtCYw7eWbagJnJjqbLxW9i+viam4qpIXFbXe9rSh0SeOjR8HoSUVnEx5F28 XPnaXkO0JbB71H2zfdGtLvNCc5Tbcnn32qW/Y= Received: by 10.227.202.70 with SMTP id fd6mr491367wbb.114.1314805006248; Wed, 31 Aug 2011 08:36:46 -0700 (PDT) Received: from localhost.localdomain (188-221-197-65.zone12.bethere.co.uk [188.221.197.65]) by mx.google.com with ESMTPS id eo6sm2706167wbb.14.2011.08.31.08.36.38 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 31 Aug 2011 08:36:39 -0700 (PDT) From: Mark Einon To: netdev@vger.kernel.org Cc: davem@davemloft.net, Mark Einon Subject: [PATCH] mii: Remove references to DP83840 PHY in mii.h Date: Wed, 31 Aug 2011 16:35:28 +0100 Message-Id: <1314804928-7353-1-git-send-email-mark.einon@gmail.com> X-Mailer: git-send-email 1.7.6 Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org There are references to this PHY chip in the generic mii.h header, so removing them. Signed-off-by: Mark Einon --- include/linux/mii.h | 12 ++++++------ 1 files changed, 6 insertions(+), 6 deletions(-) diff --git a/include/linux/mii.h b/include/linux/mii.h index 103113a..4c3cfb5 100644 --- a/include/linux/mii.h +++ b/include/linux/mii.h @@ -40,12 +40,12 @@ #define BMCR_CTST 0x0080 /* Collision test */ #define BMCR_FULLDPLX 0x0100 /* Full duplex */ #define BMCR_ANRESTART 0x0200 /* Auto negotiation restart */ -#define BMCR_ISOLATE 0x0400 /* Disconnect DP83840 from MII */ -#define BMCR_PDOWN 0x0800 /* Powerdown the DP83840 */ +#define BMCR_ISOLATE 0x0400 /* Disconnect PHY from MII */ +#define BMCR_PDOWN 0x0800 /* Powerdown */ #define BMCR_ANENABLE 0x1000 /* Enable auto negotiation */ #define BMCR_SPEED100 0x2000 /* Select 100Mbps */ #define BMCR_LOOPBACK 0x4000 /* TXD loopback bits */ -#define BMCR_RESET 0x8000 /* Reset the DP83840 */ +#define BMCR_RESET 0x8000 /* Reset */ /* Basic mode status register. */ #define BMSR_ERCAP 0x0001 /* Ext-reg capability */ @@ -55,9 +55,9 @@ #define BMSR_RFAULT 0x0010 /* Remote fault detected */ #define BMSR_ANEGCOMPLETE 0x0020 /* Auto-negotiation complete */ #define BMSR_RESV 0x00c0 /* Unused... */ -#define BMSR_ESTATEN 0x0100 /* Extended Status in R15 */ -#define BMSR_100HALF2 0x0200 /* Can do 100BASE-T2 HDX */ -#define BMSR_100FULL2 0x0400 /* Can do 100BASE-T2 FDX */ +#define BMSR_ESTATEN 0x0100 /* Extended Status in R15 */ +#define BMSR_100HALF2 0x0200 /* Can do 100BASE-T2 HDX */ +#define BMSR_100FULL2 0x0400 /* Can do 100BASE-T2 FDX */ #define BMSR_10HALF 0x0800 /* Can do 10mbps, half-duplex */ #define BMSR_10FULL 0x1000 /* Can do 10mbps, full-duplex */ #define BMSR_100HALF 0x2000 /* Can do 100mbps, half-duplex */