]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
net: phy: rename PHY_IGNORE_INTERRUPT to PHY_MAC_INTERRUPT
authorHeiner Kallweit <hkallweit1@gmail.com>
Tue, 3 Aug 2021 02:49:22 +0000 (10:49 +0800)
committerStefan Bader <stefan.bader@canonical.com>
Fri, 13 Aug 2021 07:31:55 +0000 (09:31 +0200)
commited1f8bdc1cd0a702c5cb8b614a807d92029424e8
tree48ea6b6f3aceee866d68c82a10d4568769f4b2c2
parent1f1bd65c9321cedcc1b2dd846371f8a323894259
net: phy: rename PHY_IGNORE_INTERRUPT to PHY_MAC_INTERRUPT

BugLink: https://bugs.launchpad.net/bugs/1930645
Some internal PHY's have their events like link change reported by the
MAC interrupt. We have PHY_IGNORE_INTERRUPT to deal with this scenario.
I'm not too happy with this name. We don't ignore interrupts, typically
there is no interrupt exposed at a PHY level. So let's rename it to
PHY_MAC_INTERRUPT. This is in line with phy_mac_interrupt(), which is
called from the MAC interrupt handler to handle PHY events.

Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Acked-by: Florian Fainelli <f.fainelli@gmail.com>
Reviewed-by: Russell King <rmk+kernel@armlinux.org.uk>
Signed-off-by: David S. Miller <davem@davemloft.net>
(cherry picked from commit 93e8990c24bee30696c02e8f6aed043333491a25)
Signed-off-by: Koba Ko <koba.ko@canonical.com>
Acked-by: Kleber Sacilotto de Souza <kleber.souza@canonical.com>
Acked-by: Stefan Bader <stefan.bader@canonical.com>
Signed-off-by: Kelsey Skunberg <kelsey.skunberg@canonical.com>
Documentation/networking/phy.rst
drivers/net/ethernet/broadcom/genet/bcmmii.c
drivers/net/ethernet/realtek/r8169_main.c
drivers/net/ethernet/samsung/sxgbe/sxgbe_mdio.c
drivers/net/mdio/mdio-moxart.c
drivers/net/phy/icplus.c
drivers/net/phy/phy.c
drivers/net/phy/phy_device.c
include/linux/phy.h