public inbox for netdev@vger.kernel.org 
 help / color / mirror / Atom feed
From: Heiner Kallweit <hkallweit1@gmail•com>
To: Andrew Lunn <andrew@lunn•ch>,
	Florian Fainelli <f.fainelli@gmail•com>,
	David Miller <davem@davemloft•net>, Ray Jui <rjui@broadcom•com>,
	Scott Branden <sbranden@broadcom•com>,
	bcm-kernel-feedback-list@broadcom•com
Cc: "netdev@vger•kernel.org" <netdev@vger•kernel.org>
Subject: [PATCH net-next 0/2] net: phy: set 1Gbps as default for driver features
Date: Tue, 18 Dec 2018 07:34:50 +0100	[thread overview]
Message-ID: <98eb58fb-9ba2-e18b-cd9f-7afd632a9f0b@gmail.com> (raw)

Whether a PHY is 100Mbps or 1Gbps-capable can be autodetected,
therefore it's not needed to define this manually in the driver.
genphy_config_init() will remove 1Gbps from phydev->supported if
not supported. Having said that PHY drivers for 100Mbps not
calling genphy_config_init() still have to set the features field.
As most PHY's are 1Gbps-capable let's use this as default.

Heiner Kallweit (2):
  net: phy: us 1Gbps as default if driver doesn't set features
  net: phy: remove feature definition from 1Gbps PHY drivers

 drivers/net/phy/at803x.c     |  2 --
 drivers/net/phy/bcm-cygnus.c |  1 -
 drivers/net/phy/bcm7xxx.c    |  1 -
 drivers/net/phy/broadcom.c   | 15 ---------------
 drivers/net/phy/cicada.c     |  2 --
 drivers/net/phy/dp83867.c    |  1 -
 drivers/net/phy/et1011c.c    |  1 -
 drivers/net/phy/icplus.c     |  1 -
 drivers/net/phy/intel-xway.c |  5 -----
 drivers/net/phy/marvell.c    | 13 -------------
 drivers/net/phy/micrel.c     |  4 ----
 drivers/net/phy/microchip.c  |  1 -
 drivers/net/phy/mscc.c       |  4 ----
 drivers/net/phy/national.c   |  1 -
 drivers/net/phy/phy_device.c | 15 +++++++++------
 drivers/net/phy/realtek.c    |  9 ---------
 drivers/net/phy/vitesse.c    | 12 ------------
 17 files changed, 9 insertions(+), 79 deletions(-)

-- 
2.20.0

             reply	other threads:[~2018-12-18  6:35 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-12-18  6:34 Heiner Kallweit [this message]
2018-12-18  6:36 ` [PATCH net-next 1/2] net: phy: set 1Gbps as default for driver features Heiner Kallweit
2018-12-18  6:39 ` [PATCH net-next 2/2] net: phy: remove feature definition from 1Gbps PHY drivers Heiner Kallweit
2018-12-18  9:39 ` [PATCH net-next 0/2] net: phy: set 1Gbps as default for driver features Andrew Lunn
2018-12-18 18:09   ` Heiner Kallweit
2018-12-19  5:46     ` David Miller
2018-12-19  9:21       ` Andrew Lunn
2018-12-19 19:30         ` Heiner Kallweit
2018-12-19 19:34           ` David Miller

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=98eb58fb-9ba2-e18b-cd9f-7afd632a9f0b@gmail.com \
    --to=hkallweit1@gmail$(echo .)com \
    --cc=andrew@lunn$(echo .)ch \
    --cc=bcm-kernel-feedback-list@broadcom$(echo .)com \
    --cc=davem@davemloft$(echo .)net \
    --cc=f.fainelli@gmail$(echo .)com \
    --cc=netdev@vger$(echo .)kernel.org \
    --cc=rjui@broadcom$(echo .)com \
    --cc=sbranden@broadcom$(echo .)com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox