Skip to content

Commit d2213db

Browse files
Ansueldavem330
authored andcommitted
net: phy: aquantia: move to separate directory
Move aquantia PHY driver to separate driectory in preparation for firmware loading support to keep things tidy. Signed-off-by: Christian Marangi <ansuelsmth@gmail.com> Reviewed-by: Andrew Lunn <andrew@lunn.ch> Signed-off-by: David S. Miller <davem@davemloft.net>
1 parent 470f366 commit d2213db

File tree

7 files changed

+13
-9
lines changed

7 files changed

+13
-9
lines changed

drivers/net/phy/Kconfig

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -96,10 +96,7 @@ config ADIN1100_PHY
9696
Currently supports the:
9797
- ADIN1100 - Robust,Industrial, Low Power 10BASE-T1L Ethernet PHY
9898

99-
config AQUANTIA_PHY
100-
tristate "Aquantia PHYs"
101-
help
102-
Currently supports the Aquantia AQ1202, AQ2104, AQR105, AQR405
99+
source "drivers/net/phy/aquantia/Kconfig"
103100

104101
config AX88796B_PHY
105102
tristate "Asix PHYs"

drivers/net/phy/Makefile

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -35,11 +35,7 @@ obj-y += $(sfp-obj-y) $(sfp-obj-m)
3535
obj-$(CONFIG_ADIN_PHY) += adin.o
3636
obj-$(CONFIG_ADIN1100_PHY) += adin1100.o
3737
obj-$(CONFIG_AMD_PHY) += amd.o
38-
aquantia-objs += aquantia_main.o
39-
ifdef CONFIG_HWMON
40-
aquantia-objs += aquantia_hwmon.o
41-
endif
42-
obj-$(CONFIG_AQUANTIA_PHY) += aquantia.o
38+
obj-$(CONFIG_AQUANTIA_PHY) += aquantia/
4339
obj-$(CONFIG_AT803X_PHY) += at803x.o
4440
obj-$(CONFIG_AX88796B_PHY) += ax88796b.o
4541
obj-$(CONFIG_BCM54140_PHY) += bcm54140.o

drivers/net/phy/aquantia/Kconfig

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# SPDX-License-Identifier: GPL-2.0-only
2+
config AQUANTIA_PHY
3+
tristate "Aquantia PHYs"
4+
help
5+
Currently supports the Aquantia AQ1202, AQ2104, AQR105, AQR405

drivers/net/phy/aquantia/Makefile

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
# SPDX-License-Identifier: GPL-2.0
2+
aquantia-objs += aquantia_main.o
3+
ifdef CONFIG_HWMON
4+
aquantia-objs += aquantia_hwmon.o
5+
endif
6+
obj-$(CONFIG_AQUANTIA_PHY) += aquantia.o
File renamed without changes.

0 commit comments

Comments
 (0)