Changeset 30670


Ignore:
Timestamp:
2012-02-21T10:26:43+01:00 (6 years ago)
Author:
juhosg
Message:

ramips: move the ethernet driver into a separate directory

Also clean up the Kconfig symbols.

Location:
trunk/target/linux/ramips
Files:
2 added
4 edited
3 moved

Legend:

Unmodified
Added
Removed
  • trunk/target/linux/ramips/files/drivers/net/ethernet/ramips/ramips.c

    • Property svn:eol-style set to native
  • trunk/target/linux/ramips/files/drivers/net/ethernet/ramips/ramips_esw.c

    • Property svn:eol-style set to native
  • trunk/target/linux/ramips/files/drivers/net/ethernet/ramips/ramips_eth.h

    • Property svn:eol-style set to native
  • trunk/target/linux/ramips/patches-3.2/103-ethernet.patch

    r30547 r30670  
    1 --- a/drivers/net/Kconfig 
    2 +++ b/drivers/net/Kconfig 
    3 @@ -277,6 +277,17 @@ source "drivers/net/plip/Kconfig" 
    4   
    5  source "drivers/net/ppp/Kconfig" 
    6   
    7 +config MIPS_RAMIPS_NET 
    8 +       tristate "Ethernet driver for rt288x/rt305x" 
    9 +       depends on MIPS_RALINK 
    10 +       select PHYLIB if (SOC_RT288X || SOC_RT3883) 
    11 +       help 
    12 +         This driver supports the etehrnet mac inside the ralink wisocs 
    13 + 
    14 +config RAMIPS_ETH_DEBUG 
    15 +       bool "Enable debug messages in the Ralink ethernet driver" 
    16 +       depends on MIPS_RAMIPS_NET 
    17 + 
    18  source "drivers/net/slip/Kconfig" 
    19   
    20  source "drivers/s390/net/Kconfig" 
    21 --- a/drivers/net/Makefile 
    22 +++ b/drivers/net/Makefile 
    23 @@ -44,6 +44,7 @@ obj-$(CONFIG_PPP_SYNC_TTY) += ppp/ 
    24  obj-$(CONFIG_PPPOE) += ppp/ 
    25  obj-$(CONFIG_PPPOL2TP) += ppp/ 
    26  obj-$(CONFIG_PPTP) += ppp/ 
    27 +obj-$(CONFIG_MIPS_RAMIPS_NET) += ramips.o 
    28  obj-$(CONFIG_SLIP) += slip/ 
    29  obj-$(CONFIG_SLHC) += slip/ 
    30  obj-$(CONFIG_NET_SB1000) += sb1000.o 
     1--- a/drivers/net/ethernet/Kconfig 
     2+++ b/drivers/net/ethernet/Kconfig 
     3@@ -143,6 +143,7 @@ source "drivers/net/ethernet/packetengin 
     4 source "drivers/net/ethernet/pasemi/Kconfig" 
     5 source "drivers/net/ethernet/qlogic/Kconfig" 
     6 source "drivers/net/ethernet/racal/Kconfig" 
     7+source "drivers/net/ethernet/ramips/Kconfig" 
     8 source "drivers/net/ethernet/realtek/Kconfig" 
     9 source "drivers/net/ethernet/renesas/Kconfig" 
     10 source "drivers/net/ethernet/rdc/Kconfig" 
     11--- a/drivers/net/ethernet/Makefile 
     12+++ b/drivers/net/ethernet/Makefile 
     13@@ -53,6 +53,7 @@ obj-$(CONFIG_NET_PACKET_ENGINE) += packe 
     14 obj-$(CONFIG_NET_VENDOR_PASEMI) += pasemi/ 
     15 obj-$(CONFIG_NET_VENDOR_QLOGIC) += qlogic/ 
     16 obj-$(CONFIG_NET_VENDOR_RACAL) += racal/ 
     17+obj-$(CONFIG_NET_RAMIPS) += ramips/ 
     18 obj-$(CONFIG_NET_VENDOR_REALTEK) += realtek/ 
     19 obj-$(CONFIG_SH_ETH) += renesas/ 
     20 obj-$(CONFIG_NET_VENDOR_RDC) += rdc/ 
  • trunk/target/linux/ramips/rt288x/config-3.2

    r30561 r30670  
    7474CONFIG_MIPS_MT_DISABLED=y 
    7575CONFIG_MIPS_RALINK=y 
    76 CONFIG_MIPS_RAMIPS_NET=y 
    7776# CONFIG_MLX4_CORE is not set 
    7877# CONFIG_MTD_CFI_INTELEXT is not set 
     
    8281CONFIG_NEED_DMA_MAP_STATE=y 
    8382CONFIG_NEED_PER_CPU_KM=y 
     83CONFIG_NET_RAMIPS=y 
     84# CONFIG_NET_RAMIPS_DEBUG is not set 
    8485CONFIG_PAGEFLAGS_EXTENDED=y 
    8586CONFIG_PCI=y 
     
    9495# CONFIG_RALINK_RT305X is not set 
    9596# CONFIG_RALINK_RT3883 is not set 
    96 # CONFIG_RAMIPS_ETH_DEBUG is not set 
    9797CONFIG_RAMIPS_WDT=y 
    9898CONFIG_RT288X_MACH_F5D8235_V1=y 
  • trunk/target/linux/ramips/rt305x/config-3.2

    r30645 r30670  
    7474CONFIG_MIPS_MT_DISABLED=y 
    7575CONFIG_MIPS_RALINK=y 
    76 CONFIG_MIPS_RAMIPS_NET=y 
    7776# CONFIG_MTD_CFI_INTELEXT is not set 
    7877CONFIG_MTD_CMDLINE_PARTS=y 
     
    8180CONFIG_NEED_DMA_MAP_STATE=y 
    8281CONFIG_NEED_PER_CPU_KM=y 
     82CONFIG_NET_RAMIPS=y 
     83# CONFIG_NET_RAMIPS_DEBUG is not set 
    8384CONFIG_PAGEFLAGS_EXTENDED=y 
    8485CONFIG_PERF_USE_VMALLOC=y 
     
    9192CONFIG_RALINK_RT305X=y 
    9293# CONFIG_RALINK_RT3883 is not set 
    93 # CONFIG_RAMIPS_ETH_DEBUG is not set 
    9494CONFIG_RAMIPS_WDT=y 
    9595CONFIG_RT305X_MACH_ALL0256N=y 
  • trunk/target/linux/ramips/rt3883/config-3.2

    r30527 r30670  
    7373CONFIG_MIPS_MT_DISABLED=y 
    7474CONFIG_MIPS_RALINK=y 
    75 CONFIG_MIPS_RAMIPS_NET=y 
    7675# CONFIG_MLX4_CORE is not set 
    7776# CONFIG_MTD_CFI_INTELEXT is not set 
     
    8079CONFIG_NEED_DMA_MAP_STATE=y 
    8180CONFIG_NEED_PER_CPU_KM=y 
     81CONFIG_NET_RAMIPS=y 
     82# CONFIG_NET_RAMIPS_DEBUG is not set 
    8283CONFIG_PAGEFLAGS_EXTENDED=y 
    8384CONFIG_PCI=y 
     
    9394# CONFIG_RALINK_RT305X is not set 
    9495CONFIG_RALINK_RT3883=y 
    95 # CONFIG_RAMIPS_ETH_DEBUG is not set 
    9696CONFIG_RAMIPS_WDT=y 
    9797CONFIG_RT3883_MACH_RT_N56U=y 
Note: See TracChangeset for help on using the changeset viewer.