mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-23 09:19:51 +00:00
enc28j60: Move the Microchip driver
Move the Microchip driver into drivers/net/ethernet/microchip/ and make the necessary Kconfig and Makefile changes. CC: Claudio Lanconelli <lanconelli.claudio@eptar.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
This commit is contained in:
parent
1fe003fd42
commit
580416e6e4
8 changed files with 44 additions and 18 deletions
|
@ -274,23 +274,6 @@ config DM9000_FORCE_SIMPLE_PHY_POLL
|
|||
costly MII PHY reads. Note, this will not work if the chip is
|
||||
operating with an external PHY.
|
||||
|
||||
config ENC28J60
|
||||
tristate "ENC28J60 support"
|
||||
depends on EXPERIMENTAL && SPI && NET_ETHERNET
|
||||
select CRC32
|
||||
---help---
|
||||
Support for the Microchip EN28J60 ethernet chip.
|
||||
|
||||
To compile this driver as a module, choose M here. The module will be
|
||||
called enc28j60.
|
||||
|
||||
config ENC28J60_WRITEVERIFY
|
||||
bool "Enable write verify"
|
||||
depends on ENC28J60
|
||||
---help---
|
||||
Enable the verify after the buffer write useful for debugging purpose.
|
||||
If unsure, say N.
|
||||
|
||||
config NET_PCI
|
||||
bool "EISA, VLB, PCI and on board controllers"
|
||||
depends on ISA || EISA || PCI
|
||||
|
|
|
@ -53,7 +53,6 @@ obj-$(CONFIG_TUN) += tun.o
|
|||
obj-$(CONFIG_VETH) += veth.o
|
||||
obj-$(CONFIG_NET_NETX) += netx-eth.o
|
||||
obj-$(CONFIG_DM9000) += dm9000.o
|
||||
obj-$(CONFIG_ENC28J60) += enc28j60.o
|
||||
|
||||
obj-$(CONFIG_DEV_APPLETALK) += appletalk/
|
||||
obj-$(CONFIG_ETHERNET) += ethernet/
|
||||
|
|
|
@ -78,6 +78,7 @@ config LANTIQ_ETOP
|
|||
source "drivers/net/ethernet/marvell/Kconfig"
|
||||
source "drivers/net/ethernet/mellanox/Kconfig"
|
||||
source "drivers/net/ethernet/micrel/Kconfig"
|
||||
source "drivers/net/ethernet/microchip/Kconfig"
|
||||
|
||||
config MIPS_SIM_NET
|
||||
tristate "MIPS simulator Network device"
|
||||
|
|
|
@ -36,6 +36,7 @@ obj-$(CONFIG_LANTIQ_ETOP) += lantiq_etop.o
|
|||
obj-$(CONFIG_NET_VENDOR_MARVELL) += marvell/
|
||||
obj-$(CONFIG_NET_VENDOR_MELLANOX) += mellanox/
|
||||
obj-$(CONFIG_NET_VENDOR_MICREL) += micrel/
|
||||
obj-$(CONFIG_NET_VENDOR_MICROCHIP) += microchip/
|
||||
obj-$(CONFIG_MIPS_SIM_NET) += mipsnet.o
|
||||
obj-$(CONFIG_NET_VENDOR_MYRI) += myricom/
|
||||
obj-$(CONFIG_FEALNX) += fealnx.o
|
||||
|
|
37
drivers/net/ethernet/microchip/Kconfig
Normal file
37
drivers/net/ethernet/microchip/Kconfig
Normal file
|
@ -0,0 +1,37 @@
|
|||
#
|
||||
# Microchip network device configuration
|
||||
#
|
||||
|
||||
config NET_VENDOR_MICROCHIP
|
||||
bool "Microchip devices"
|
||||
depends on SPI && EXPERIMENTAL
|
||||
---help---
|
||||
If you have a network (Ethernet) card belonging to this class, say Y
|
||||
and read the Ethernet-HOWTO, available from
|
||||
<http://www.tldp.org/docs.html#howto>.
|
||||
|
||||
Note that the answer to this question doesn't directly affect the
|
||||
kernel: saying N will just cause the configurator to skip all
|
||||
the questions about Microchip cards. If you say Y, you will be asked
|
||||
for your specific card in the following questions.
|
||||
|
||||
if NET_VENDOR_MICROCHIP
|
||||
|
||||
config ENC28J60
|
||||
tristate "ENC28J60 support"
|
||||
depends on SPI && EXPERIMENTAL
|
||||
select CRC32
|
||||
---help---
|
||||
Support for the Microchip EN28J60 ethernet chip.
|
||||
|
||||
To compile this driver as a module, choose M here. The module will be
|
||||
called enc28j60.
|
||||
|
||||
config ENC28J60_WRITEVERIFY
|
||||
bool "Enable write verify"
|
||||
depends on ENC28J60
|
||||
---help---
|
||||
Enable the verify after the buffer write useful for debugging purpose.
|
||||
If unsure, say N.
|
||||
|
||||
endif # NET_VENDOR_MICROCHIP
|
5
drivers/net/ethernet/microchip/Makefile
Normal file
5
drivers/net/ethernet/microchip/Makefile
Normal file
|
@ -0,0 +1,5 @@
|
|||
#
|
||||
# Makefile for the Microchip network device drivers.
|
||||
#
|
||||
|
||||
obj-$(CONFIG_ENC28J60) += enc28j60.o
|
Loading…
Reference in a new issue