Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 265271
b: refs/heads/master
c: 9f2f381
h: refs/heads/master
i:
  265269: c22e479
  265267: 6e5a98d
  265263: f89a4b1
v: v3
  • Loading branch information
Jeff Kirsher committed Aug 12, 2011
1 parent c6653c8 commit 3e441d3
Show file tree
Hide file tree
Showing 14 changed files with 54 additions and 39 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 7b35f03338a8557122e62ea1a011f1628b978e8d
refs/heads/master: 9f2f381f813858755f5b6ef7af316feda0726ef3
2 changes: 1 addition & 1 deletion trunk/MAINTAINERS
Original file line number Diff line number Diff line change
Expand Up @@ -1323,7 +1323,7 @@ F: include/video/atmel_lcdc.h
ATMEL MACB ETHERNET DRIVER
M: Nicolas Ferre <nicolas.ferre@atmel.com>
S: Supported
F: drivers/net/macb.*
F: drivers/net/ethernet/cadence/

ATMEL SPI DRIVER
M: Nicolas Ferre <nicolas.ferre@atmel.com>
Expand Down
16 changes: 0 additions & 16 deletions trunk/drivers/net/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,6 @@
# Network device configuration
#

config HAVE_NET_MACB
bool

menuconfig NETDEVICES
default y if UML
depends on NET
Expand Down Expand Up @@ -224,19 +221,6 @@ menuconfig NET_ETHERNET

if NET_ETHERNET

config MACB
tristate "Atmel MACB support"
depends on HAVE_NET_MACB
select PHYLIB
help
The Atmel MACB ethernet interface is found on many AT32 and AT91
parts. Say Y to include support for the MACB chip.

To compile this driver as a module, choose M here: the module
will be called macb.

source "drivers/net/arm/Kconfig"

config SH_ETH
tristate "Renesas SuperH Ethernet support"
depends on SUPERH && \
Expand Down
3 changes: 0 additions & 3 deletions trunk/drivers/net/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -63,9 +63,6 @@ obj-$(CONFIG_ETHOC) += ethoc.o
obj-$(CONFIG_GRETH) += greth.o

obj-$(CONFIG_DNET) += dnet.o
obj-$(CONFIG_MACB) += macb.o

obj-$(CONFIG_ARM) += arm/
obj-$(CONFIG_DEV_APPLETALK) += appletalk/
obj-$(CONFIG_ETHERNET) += ethernet/
obj-$(CONFIG_TR) += tokenring/
Expand Down
12 changes: 0 additions & 12 deletions trunk/drivers/net/arm/Kconfig

This file was deleted.

6 changes: 0 additions & 6 deletions trunk/drivers/net/arm/Makefile

This file was deleted.

1 change: 1 addition & 0 deletions trunk/drivers/net/ethernet/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ source "drivers/net/ethernet/3com/Kconfig"
source "drivers/net/ethernet/amd/Kconfig"
source "drivers/net/ethernet/apple/Kconfig"
source "drivers/net/ethernet/atheros/Kconfig"
source "drivers/net/ethernet/cadence/Kconfig"
source "drivers/net/ethernet/adi/Kconfig"
source "drivers/net/ethernet/broadcom/Kconfig"
source "drivers/net/ethernet/brocade/Kconfig"
Expand Down
1 change: 1 addition & 0 deletions trunk/drivers/net/ethernet/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ obj-$(CONFIG_NET_VENDOR_8390) += 8390/
obj-$(CONFIG_NET_VENDOR_AMD) += amd/
obj-$(CONFIG_NET_VENDOR_APPLE) += apple/
obj-$(CONFIG_NET_VENDOR_ATHEROS) += atheros/
obj-$(CONFIG_NET_ATMEL) += cadence/
obj-$(CONFIG_NET_BFIN) += adi/
obj-$(CONFIG_NET_VENDOR_BROADCOM) += broadcom/
obj-$(CONFIG_NET_VENDOR_BROCADE) += brocade/
Expand Down
44 changes: 44 additions & 0 deletions trunk/drivers/net/ethernet/cadence/Kconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
#
# Atmel device configuration
#

config HAVE_NET_MACB
bool

config NET_ATMEL
bool "Atmel devices"
depends on HAVE_NET_MACB || (ARM && ARCH_AT91RM9200)
---help---
If you have a network (Ethernet) card belonging to this class, say Y.
Make sure you know the name of your card. Read the Ethernet-HOWTO,
available from <http://www.tldp.org/docs.html#howto>.

If unsure, say Y.

Note that the answer to this question doesn't directly affect the
kernel: saying N will just cause the configurator to skip all
the remaining Atmel network card questions. If you say Y, you will be
asked for your specific card in the following questions.

if NET_ATMEL

config ARM_AT91_ETHER
tristate "AT91RM9200 Ethernet support"
depends on ARM && ARCH_AT91RM9200
select MII
---help---
If you wish to compile a kernel for the AT91RM9200 and enable
ethernet support, then you should always answer Y to this.

config MACB
tristate "Atmel MACB support"
depends on HAVE_NET_MACB
select PHYLIB
---help---
The Atmel MACB ethernet interface is found on many AT32 and AT91
parts. Say Y to include support for the MACB chip.

To compile this driver as a module, choose M here: the module
will be called macb.

endif # NET_ATMEL
6 changes: 6 additions & 0 deletions trunk/drivers/net/ethernet/cadence/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#
# Makefile for the Atmel network device drivers.
#

obj-$(CONFIG_ARM_AT91_ETHER) += at91_ether.o
obj-$(CONFIG_MACB) += macb.o
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 3e441d3

Please sign in to comment.