Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

myri*: Move the Myricom drivers

Move the Myricom drivers into drivers/net/ethernet/myricom/ and make
the necessary Kconfig and Makefile changes.

CC: Andrew Gallatin <gallatin@myri.com>
CC: Brice Goglin <brice@myri.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>

+54 -28
+1 -1
MAINTAINERS
··· 4335 4335 L: netdev@vger.kernel.org 4336 4336 W: http://www.myri.com/scs/download-Myri10GE.html 4337 4337 S: Supported 4338 - F: drivers/net/myri10ge/ 4338 + F: drivers/net/ethernet/myricom/myri10ge/ 4339 4339 4340 4340 NATSEMI ETHERNET DRIVER (DP8381x) 4341 4341 M: Tim Hockin <thockin@hockin.org>
-26
drivers/net/Kconfig
··· 1519 1519 the vxge driver. By default only few debug trace statements are 1520 1520 enabled. 1521 1521 1522 - config MYRI10GE 1523 - tristate "Myricom Myri-10G Ethernet support" 1524 - depends on PCI && INET 1525 - select FW_LOADER 1526 - select CRC32 1527 - select INET_LRO 1528 - ---help--- 1529 - This driver supports Myricom Myri-10G Dual Protocol interface in 1530 - Ethernet mode. If the eeprom on your board is not recent enough, 1531 - you will need a newer firmware image. 1532 - You may get this image or more information, at: 1533 - 1534 - <http://www.myri.com/scs/download-Myri10GE.html> 1535 - 1536 - To compile this driver as a module, choose M here. The module 1537 - will be called myri10ge. 1538 - 1539 - config MYRI10GE_DCA 1540 - bool "Direct Cache Access (DCA) Support" 1541 - default y 1542 - depends on MYRI10GE && DCA && !(MYRI10GE=y && DCA=m) 1543 - ---help--- 1544 - Say Y here if you want to use Direct Cache Access (DCA) in the 1545 - driver. DCA is a method for warming the CPU cache before data 1546 - is used, with the intent of lessening the impact of cache misses. 1547 - 1548 1522 config PASEMI_MAC 1549 1523 tristate "PA Semi 1/10Gbit MAC" 1550 1524 depends on PPC_PASEMI && PCI && INET
-1
drivers/net/Makefile
··· 151 151 obj-$(CONFIG_IBMVETH) += ibmveth.o 152 152 obj-$(CONFIG_S2IO) += s2io.o 153 153 obj-$(CONFIG_VXGE) += vxge/ 154 - obj-$(CONFIG_MYRI10GE) += myri10ge/ 155 154 obj-$(CONFIG_PXA168_ETH) += pxa168_eth.o 156 155 obj-$(CONFIG_BFIN_MAC) += bfin_mac.o 157 156 obj-$(CONFIG_DM9000) += dm9000.o
+1
drivers/net/ethernet/Kconfig
··· 21 21 source "drivers/net/ethernet/intel/Kconfig" 22 22 source "drivers/net/ethernet/i825xx/Kconfig" 23 23 source "drivers/net/ethernet/mellanox/Kconfig" 24 + source "drivers/net/ethernet/myricom/Kconfig" 24 25 source "drivers/net/ethernet/qlogic/Kconfig" 25 26 source "drivers/net/ethernet/racal/Kconfig" 26 27 source "drivers/net/ethernet/sfc/Kconfig"
+1
drivers/net/ethernet/Makefile
··· 12 12 obj-$(CONFIG_NET_VENDOR_INTEL) += intel/ 13 13 obj-$(CONFIG_NET_VENDOR_I825XX) += i825xx/ 14 14 obj-$(CONFIG_NET_VENDOR_MELLANOX) += mellanox/ 15 + obj-$(CONFIG_NET_VENDOR_MYRI) += myricom/ 15 16 obj-$(CONFIG_NET_VENDOR_QLOGIC) += qlogic/ 16 17 obj-$(CONFIG_NET_VENDOR_RACAL) += racal/ 17 18 obj-$(CONFIG_SFC) += sfc/
+46
drivers/net/ethernet/myricom/Kconfig
··· 1 + # 2 + # Myricom device configuration 3 + # 4 + 5 + config NET_VENDOR_MYRI 6 + bool "Myricom devices" 7 + depends on PCI && INET 8 + ---help--- 9 + If you have a network (Ethernet) card belonging to this class, say 10 + Y 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 Myricom cards. If you say Y, you will be asked for 16 + your specific card in the following questions. 17 + 18 + if NET_VENDOR_MYRI 19 + 20 + config MYRI10GE 21 + tristate "Myricom Myri-10G Ethernet support" 22 + depends on PCI && INET 23 + select FW_LOADER 24 + select CRC32 25 + select INET_LRO 26 + ---help--- 27 + This driver supports Myricom Myri-10G Dual Protocol interface in 28 + Ethernet mode. If the eeprom on your board is not recent enough, 29 + you will need a newer firmware image. 30 + You may get this image or more information, at: 31 + 32 + <http://www.myri.com/scs/download-Myri10GE.html> 33 + 34 + To compile this driver as a module, choose M here. The module 35 + will be called myri10ge. 36 + 37 + config MYRI10GE_DCA 38 + bool "Direct Cache Access (DCA) Support" 39 + default y 40 + depends on MYRI10GE && DCA && !(MYRI10GE=y && DCA=m) 41 + ---help--- 42 + Say Y here if you want to use Direct Cache Access (DCA) in the 43 + driver. DCA is a method for warming the CPU cache before data 44 + is used, with the intent of lessening the impact of cache misses. 45 + 46 + endif # NET_VENDOR_MYRI
+5
drivers/net/ethernet/myricom/Makefile
··· 1 + # 2 + # Makefile for the Myricom network device drivers. 3 + # 4 + 5 + obj-$(CONFIG_MYRI10GE) += myri10ge/
drivers/net/myri10ge/Makefile drivers/net/ethernet/myricom/myri10ge/Makefile
drivers/net/myri10ge/myri10ge.c drivers/net/ethernet/myricom/myri10ge/myri10ge.c
drivers/net/myri10ge/myri10ge_mcp.h drivers/net/ethernet/myricom/myri10ge/myri10ge_mcp.h
drivers/net/myri10ge/myri10ge_mcp_gen_header.h drivers/net/ethernet/myricom/myri10ge/myri10ge_mcp_gen_header.h