summaryrefslogtreecommitdiffstats
path: root/drivers/net/Kconfig
Commit message (Collapse)AuthorAgeFilesLines
* net: e1000: add HAS_DMA dependencyAntony Pavlov2015-04-281-0/+1
| | | | | | | | | | | | | | | | | The e1000 driver uses the dma coherent functions and thus can only be build for architectures implementing them. Here is mips malta build error log: drivers/built-in.o: In function `e1000_transmit': drivers/net/e1000.c:(.text.e1000_transmit+0x80): undefined reference to `dma_sync_single_for_device' drivers/built-in.o: In function `e1000_poll': drivers/net/e1000.c:(.text.e1000_poll+0x60): undefined reference to `dma_sync_single_for_cpu' Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* net: Add Intel e1000 driverSascha Hauer2015-04-031-0/+8
| | | | | | | | | | | | | | | | This adds the Intel e1000 driver from U-Boot. The driver looks in parts quite similar to the kernel driver, I don't know whether one is derived from the other or if they both just have the same origin. Many coding style related issues are fixed, the code is simplified in several places. All features of the original driver should still be there, only fiber support is disabled since it's quite unlikely that this is used in barebox. The driver has been tested with the i.MX6 PCIe driver and a I210 e1000 device (0x8086:0x1533) Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* net: rtl8169: convert to streaming DMA opsLucas Stach2015-03-061-0/+1
| | | | | | | | | Move to the common streaming DMA ops in order to get rid of the direct usage of the ARM MMU functions for the cache maintenance. Signed-off-by: Lucas Stach <dev@lynxeye.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Merge branch 'for-next/marvell'Sascha Hauer2014-12-081-0/+6
|\
| * net: Add driver for Armada 370/XP 10/100/1000 Mbps network controllerEzequiel Garcia2014-11-111-0/+6
| | | | | | | | | | | | | | | | | | This patch introduces the mvneta driver to support the network controller found in Armada 370/XP SoCs. Tested-by: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com> Signed-off-by: Ezequiel Garcia <ezequiel.garcia@free-electrons.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | net: rtl8139: depend on MIPSLucas Stach2014-11-271-0/+1
| | | | | | | | | | | | | | Until we sort out the dma-mapping mess. Signed-off-by: Lucas Stach <l.stach@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | net: ethoc: depend on OPENRISCLucas Stach2014-11-261-0/+1
|/ | | | | | | | This driver currently only works on OpenRISC, as it uses the cache flush/invalidate functions of this arch. Signed-off-by: Lucas Stach <l.stach@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* net: add rtl8169 driverLucas Stach2014-10-081-0/+8
| | | | | | | | This adds the driver for RealTek 8169 and compatible pci attached network chips. Signed-off-by: Lucas Stach <dev@lynxeye.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Merge branch 'for-next/misc'Sascha Hauer2014-08-071-0/+4
|\ | | | | | | | | Conflicts: lib/Makefile
| * sandbox: allow "make ARCH=sandbox allyesconfig"Holger Schurig2014-07-221-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | Compiling the tree with allyesconfig is helpful because different compilers (gcc, clang) or static checkers (e.g. clang's scan-build) can then process and check more code. This patch introduces two new configuration symbols that Kconfig files can depend on. That way, code that is only working where a cache or DMA implementation exists can be opted out. Signed-off-by: Holger Schurig <holgerschurig@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | net: Add EFI Simple Network Protocol DriverSascha Hauer2014-07-161-0/+4
|/ | | | | | | This adds a network driver which uses the EFI Simple Network Protocol to implement networking for barebox. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Merge branch 'for-next/net'Sascha Hauer2014-07-041-0/+14
|\
| * net: add ENC28J60 supportAntony Pavlov2014-07-021-0/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ENC28J60 is a stand-alone Ethernet controller with SPI Interface and integrated 10BASE-T PHY. This driver was ported from linux-3.15. The most notable barebox driver version changes: * add device tree support; * drop netif_msg_*() debug level checking; * use IF_ENABLED for checking CONFIG_ENC28J60_WRITEVERIFY; * add mii_bus support. Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | net: add RealTek RTL-8139 PCI Ethernet driverAntony Pavlov2014-07-041-0/+8
|/ | | | | | | | This driver is based on Linux 2.6.39 8139too driver. Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com> Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* drivers/net/ethoc: add mdio bus supportFranck Jullien2014-05-161-0/+1
| | | | | Signed-off-by: Franck Jullien <franck.jullien@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* net: add ARC EMAC driverBeniamino Galvani2014-04-291-0/+7
| | | | | | | | This patch adds support for the Synopsys 10/100 Mbps Ethernet MAC used on some ARC devices and on Rockchip SoCs. Signed-off-by: Beniamino Galvani <b.galvani@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* net: orion: add ethernet driverSebastian Hesselbarth2014-02-101-0/+6
| | | | | | | | | | This adds a driver for the Ethernet ip found on Marvell Orion SoCs, which is derived from Marvell Discovery System Controllers (MV643xx). It is partially based on the corresponding u-boot driver. Signed-off-by: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com> Signed-off-by: Michael Grzeschik <mgr@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* net: reorder Kconfig and Makefile alphabeticallySebastian Hesselbarth2014-02-101-70/+69
| | | | | | | This reorders Kconfig and Makefile for drivers/net alphabetically. Signed-off-by: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* net: add driver for OpenCores 10/100 Mbps ethernet MACBeniamino Galvani2013-12-171-0/+6
| | | | | | | | This patch introduces a driver for the OpenCores 10/100 Mbps ethernet MAC core, ported from Linux kernel with small changes. Signed-off-by: Beniamino Galvani <b.galvani@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* net/Kconfig: Remove non-existent ARCH_DAVINCIAlexander Shiyan2013-11-111-1/+1
| | | | | Signed-off-by: Alexander Shiyan <shc_work@mail.ru> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* net: designware: make alt/enhanced descriptor runtime configurableSascha Hauer2013-09-091-5/+0
| | | | | | | | | | Instead of hardcoding the alternate/enhanced descriptor layout make it configurable during runtime. This is based on the value of the enh_desc variable which is currently hardcoded to zero. This should be configurable via device_id in the future. Since currently we have no in tree user of this driver this currently doesn't hurt. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* net: designware: drop HAS_DESIGNWARE_ETHSascha Hauer2013-09-091-1/+0
| | | | | | To let the driver just compile when needed. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* net: add ar231x-eth supportOleksij Rempel2013-05-311-0/+7
| | | | | | | | | This driver should work with some Atheros WiSoCs: - ar2312, ar2313 - ar2315, ar2316 ... Signed-off-by: Oleksij Rempel <linux@rempel-privat.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Merge branch 'for-next/misc'Sascha Hauer2013-03-041-0/+1
|\
| * net: fix cpsw depends on ARCH_OMAPAlexander Aring2013-02-111-0/+1
| | | | | | | | | | Signed-off-by: Alexander Aring <alex.aring@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | highbank: add xgmac supportJean-Christophe PLAGNIOL-VILLARD2013-02-141-0/+3
|/ | | | | | Cc: Rob Herring <rob.herring@calxeda.com> Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* drivers: net: add driver for TI CPSWJan Luebbe2013-01-101-0/+4
| | | | | Signed-off-by: Jan Luebbe <jlu@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Cleanup Kconfig filesAlexander Shiyan2012-12-081-1/+1
| | | | | | | | | This patch provides a global cleanup barebox Kconfig files. This includes replacing spaces to tabs, formatting in accordance format, removing extraneous lines and spaces. No functional changes. Signed-off-by: Alexander Shiyan <shc_work@mail.ru> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Merge branch 'for-next/net'Sascha Hauer2012-10-031-14/+21
|\
| * davinci_emac: adjust to new phylib frameworkJan Luebbe2012-09-291-1/+1
| | | | | | | | | | | | | | | | Also pass flags using platform_data and remove useless casts from void*. Signed-off-by: Jan Luebbe <jlu@pengutronix.de> Acked-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * net: introduce phylibJean-Christophe PLAGNIOL-VILLARD2012-09-251-14/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Adapt phylib from linux switch all the driver to it reimplement mii bus This will allow to have - phy drivers - to only connect the phy at then opening of the device - if the phy is not ready or not up fail on open Same behaviour as in linux and will allow to share code and simplify porting. Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
| * drivers/net: add driver for the EMAC device found in some TI SoCsJan Luebbe2012-09-171-0/+5
| | | | | | | | | | Signed-off-by: Jan Luebbe <jlu@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | drivers/net/ksz8864rmn: add driver for Micrel KSZ8864RMN Ethernet SwitchJan Luebbe2012-09-141-0/+7
|/ | | | | | | | | | It starts the switch and provides basic access to the registers. This driver could also work with some other Micrel switches, possibly with some small changes. Signed-off-by: Jan Luebbe <jlu@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Merge branch 'for-next/smc911x'Sascha Hauer2012-09-051-6/+0
|\
| * smc911x: add support to pass the shift via platform dataJean-Christophe PLAGNIOL-VILLARD2012-09-031-6/+0
| | | | | | | | | | | | | | switch ipe337: to it at the same time to do not brake it Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | net: GIANFAR driverRenaud Barbier2012-08-101-0/+5
|/ | | | | | | | This update adds the GIANFAR driver along with the configuration and build files. Signed-off-by: Renaud Barbier <renaud.barbier@ge.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* drivers/net: add designware driverJohannes Stezenbach2012-06-261-0/+16
| | | | | | | | Straight forward port of Synopsys Designware ethernet driver from u-boot v2012.04.01. Signed-off-by: Johannes Stezenbach <js@sig21.net> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* net: at91_ether re-implement against new at91rm9200 apiJean-Christophe PLAGNIOL-VILLARD2012-04-021-0/+1
| | | | | Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* NET: Add support for ks8851_mllJan Weitzel2012-03-131-0/+7
| | | | | | | Add support for KS8851 16bit MLL chip from Micrel Inc. Signed-off-by: Jan Weitzel <j.weitzel@phytec.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Remove the obsolet driver for the DM9000E ethernet deviceJuergen Beisert2011-12-141-5/+0
| | | | | | | | Support for the old DM9000E device is now part of the new dm9k.c driver. So, remove the old driver source and switch all users to the new driver. Signed-off-by: Juergen Beisert <jbe@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Add support for more recent Davicom DM9k devicesJuergen Beisert2011-12-141-0/+5
| | | | | | | | | | This patch adds support for the more recent DM9000A and DM9000B types, and keeps support for the older DM9000E device. As this patch is more or less a complete re-wrote of the existing driver I add a new source file instead of fixing the existing one. In a later patch the old driver will be removed. Signed-off-by: Juergen Beisert <jbe@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Nios2: Add Altera TSE driverFranck JULLIEN2011-05-021-0/+16
| | | | | | | Add Altera Triple Speed Ethernet driver Signed-off-by: Franck JULLIEN <franck.jullien@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* tx28: fix kconfig warningRobert Schwebel2011-02-101-0/+3
| | | | | | | | | | | | | | | | | | | | | | Without this patch (against next) I get this: rsc@thebe:barebox$ make ARCH=arm CROSS_COMPILE=<path>/arm-v5te-linux-gnueabi- menuconfig HOSTCC scripts/kconfig/lxdialog/checklist.o HOSTCC scripts/kconfig/lxdialog/inputbox.o HOSTCC scripts/kconfig/lxdialog/menubox.o HOSTCC scripts/kconfig/lxdialog/textbox.o HOSTCC scripts/kconfig/lxdialog/util.o HOSTCC scripts/kconfig/lxdialog/yesno.o HOSTCC scripts/kconfig/mconf.o HOSTLD scripts/kconfig/mconf scripts/kconfig/mconf Kconfig warning: (ARCH_IMX25 && ARCH_IMX27 && ARCH_IMX35 && ARCH_IMX51 && ARCH_IMX28) selects ARCH_HAS_FEC_IMX which has unmet direct dependencies (ARCH_IMX) warning: (ARCH_IMX25 && ARCH_IMX27 && ARCH_IMX35 && ARCH_IMX51 && ARCH_IMX28) selects ARCH_HAS_FEC_IMX which has unmet direct dependencies (ARCH_IMX) Add the option for the FEC on MX28 as well. Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* net: rework the mii supportJean-Christophe PLAGNIOL-VILLARD2010-08-271-9/+9
| | | | | | | this rework is done in order to add a phylib and allow to have phy driver support Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* macb: introduce HAS_MACB configurationJean-Christophe PLAGNIOL-VILLARD2010-08-231-1/+4
| | | | Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
* Add EP93xx ethernet driverMatthias Kaehlcke2010-01-141-0/+5
| | | | | | | Added ethernet driver for EP93xx SoCs Signed-off-by: Matthias Kaehlcke <matthias@kaehlcke.net> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* at91sam9: move to at91Jean-Christophe PLAGNIOL-VILLARD2009-10-201-1/+1
| | | | | | this will allow to add at91rm9200 with the same api as done in the kernel Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
* Adding the network driver for the SMSC91C111 ethernet device.Juergen Beisert2009-07-011-0/+7
| | | | Signed-off-by: Juergen Beisert <j.beisert@pengutronix.de>
* USB supportSascha Hauer2009-04-071-0/+2
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* i.MX FEC Kconfig: add a ARCH_HAS_FEC_IMX symbolSascha Hauer2009-03-311-3/+3
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>