Skip to content

Commit ded19ad

Browse files
author
Jeff Kirsher
committed
pasemic_mac*: Move the PA Semi driver
Move the PA Semi driver into drivers/net/ethernet/pasemi/ and make the necessary Kconfig and Makefile changes. CC: Olof Johansson <[email protected]> Signed-off-by: Jeff Kirsher <[email protected]> Acked-by: Olof Johansson <[email protected]>
1 parent e7c379d commit ded19ad

File tree

10 files changed

+37
-12
lines changed

10 files changed

+37
-12
lines changed

MAINTAINERS

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4785,7 +4785,7 @@ PA SEMI ETHERNET DRIVER
47854785
M: Olof Johansson <[email protected]>
47864786
47874787
S: Maintained
4788-
F: drivers/net/pasemi_mac.*
4788+
F: drivers/net/ethernet/pasemi/*
47894789

47904790
PA SEMI SMBUS DRIVER
47914791
M: Olof Johansson <[email protected]>

drivers/net/Kconfig

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1457,15 +1457,6 @@ if NETDEV_10000
14571457
config MDIO
14581458
tristate
14591459

1460-
config PASEMI_MAC
1461-
tristate "PA Semi 1/10Gbit MAC"
1462-
depends on PPC_PASEMI && PCI && INET
1463-
select PHYLIB
1464-
select INET_LRO
1465-
help
1466-
This driver supports the on-chip 1/10Gbit Ethernet controller on
1467-
PA Semi's PWRficient line of chips.
1468-
14691460
config TEHUTI
14701461
tristate "Tehuti Networks 10G Ethernet"
14711462
depends on PCI

drivers/net/Makefile

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -147,8 +147,6 @@ obj-$(CONFIG_R8169) += r8169.o
147147
obj-$(CONFIG_PXA168_ETH) += pxa168_eth.o
148148
obj-$(CONFIG_BFIN_MAC) += bfin_mac.o
149149
obj-$(CONFIG_DM9000) += dm9000.o
150-
obj-$(CONFIG_PASEMI_MAC) += pasemi_mac_driver.o
151-
pasemi_mac_driver-objs := pasemi_mac.o pasemi_mac_ethtool.o
152150
obj-$(CONFIG_ENC28J60) += enc28j60.o
153151
obj-$(CONFIG_ETHOC) += ethoc.o
154152
obj-$(CONFIG_GRETH) += greth.o

drivers/net/ethernet/Kconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ source "drivers/net/ethernet/intel/Kconfig"
2525
source "drivers/net/ethernet/i825xx/Kconfig"
2626
source "drivers/net/ethernet/mellanox/Kconfig"
2727
source "drivers/net/ethernet/myricom/Kconfig"
28+
source "drivers/net/ethernet/pasemi/Kconfig"
2829
source "drivers/net/ethernet/qlogic/Kconfig"
2930
source "drivers/net/ethernet/racal/Kconfig"
3031
source "drivers/net/ethernet/sfc/Kconfig"

drivers/net/ethernet/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ obj-$(CONFIG_NET_VENDOR_INTEL) += intel/
1616
obj-$(CONFIG_NET_VENDOR_I825XX) += i825xx/
1717
obj-$(CONFIG_NET_VENDOR_MELLANOX) += mellanox/
1818
obj-$(CONFIG_NET_VENDOR_MYRI) += myricom/
19+
obj-$(CONFIG_NET_VENDOR_PASEMI) += pasemi/
1920
obj-$(CONFIG_NET_VENDOR_QLOGIC) += qlogic/
2021
obj-$(CONFIG_NET_VENDOR_RACAL) += racal/
2122
obj-$(CONFIG_SFC) += sfc/

drivers/net/ethernet/pasemi/Kconfig

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
#
2+
# PA Semi network device configuration
3+
#
4+
5+
config NET_VENDOR_PASEMI
6+
bool "PA Semi devices"
7+
depends on PPC_PASEMI && PCI && INET
8+
---help---
9+
If you have a network (Ethernet) card belonging to this class, say Y
10+
and read the Ethernet-HOWTO, available from
11+
<http://www.tldp.org/docs.html#howto>.
12+
13+
Note that the answer to this question doesn't directly affect the
14+
kernel: saying N will just cause the configurator to skip all
15+
the questions about PA Semi cards. If you say Y, you will be asked for
16+
your specific card in the following questions.
17+
18+
if NET_VENDOR_PASEMI
19+
20+
config PASEMI_MAC
21+
tristate "PA Semi 1/10Gbit MAC"
22+
depends on PPC_PASEMI && PCI && INET
23+
select PHYLIB
24+
select INET_LRO
25+
---help---
26+
This driver supports the on-chip 1/10Gbit Ethernet controller on
27+
PA Semi's PWRficient line of chips.
28+
29+
endif # NET_VENDOR_PASEMI

drivers/net/ethernet/pasemi/Makefile

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
#
2+
# Makefile for the A Semi network device drivers.
3+
#
4+
5+
obj-$(CONFIG_PASEMI_MAC) += pasemi_mac.o pasemi_mac_ethtool.o
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)