aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net (follow)
AgeCommit message (Collapse)AuthorFilesLines
2012-04-07myri10ge: stop using net_device.{base_addr, irq}.Francois Romieu1-5/+2
Signed-off-by: Francois Romieu <romieu@fr.zoreil.com> Cc: Jon Mason <mason@myri.com> Acked-by: Andrew Gallatin <gallatin@myri.com>
2012-04-07sis900: stop using net_device.{base_addr, irq} and convert to __iomem.Francois Romieu1-174/+201
- pci_resource_start() can be removed from sis900_get_mac_addr() because the IO range is maped and stored into the device private struct early in the device probe function. - the driver contains a few direct accesses to low IO ports that forbid to re(#)define the usual out{l, w, b} macros. Signed-off-by: Francois Romieu <romieu@fr.zoreil.com> Cc: Daniele Venzano <venza@brownhat.org>
2012-04-07dmfe: stop using net_device.{base_addr, irq} and convert to __iomem.Francois Romieu1-142/+153
This is a pure PCI driver, no ISA here. Signed-off-by: Francois Romieu <romieu@fr.zoreil.com> Acked-by: Grant Grundler <grundler@parisc-linux.org>
2012-04-07epic100: stop using net_device.{base_addr, irq} and convert to __iomem.Francois Romieu1-202/+201
Signed-off-by: Francois Romieu <romieu@fr.zoreil.com>
2012-04-07uli526x: stop using net_device.{base_addr, irq} and convert to __iomem.Francois Romieu1-195/+202
The bulk of the patch comes from the __iomem changes. - the phy read and write operations were carrying the chip id deep down the call chain. Let's waste a pointer and contain the flying spaghetti monster. - phy_{read, write}_1bit only need to access the DCR9 register. The loss of generality here should not hurt. - removed a leftover printk of the EISA era. This is a pure PCI device. Signed-off-by: Francois Romieu <romieu@fr.zoreil.com> Acked-by: Grant Grundler <grundler@parisc-linux.org>
2012-04-07dl2k: stop using net_device.{base_addr, irq} and convert to __iomem.Francois Romieu2-226/+209
The eeprom registers always use the same PCI bar whereas the general registers may either use the same mapping as the eeprom registers or a different one. It is thus possible to simplify parse_eeprom(). Signed-off-by: Francois Romieu <romieu@fr.zoreil.com>
2012-04-078139too: dev->{base_addr, irq} removal.Francois Romieu1-80/+56
Signed-off-by: Francois Romieu <romieu@fr.zoreil.com>
2012-04-07natsemi: stop using net_device.{base_addr, irq}.Francois Romieu1-28/+39
It's useless to check mem_start on a newly allocated device. Signed-off-by: Francois Romieu <romieu@fr.zoreil.com> Cc: Tim Hockin <thockin@hockin.org>
2012-04-07smsc9420: stop using net_device.{base_addr, irq}.Francois Romieu1-24/+23
The device private data pointer can not be NULL in smsc9420_open(). Signed-off-by: Francois Romieu <romieu@fr.zoreil.com> Cc: Steve Glendinning <steve.glendinning@smsc.com>
2012-04-07de2104x: stop using net_device.{base_addr, irq}.Francois Romieu1-18/+16
Signed-off-by: Francois Romieu <romieu@fr.zoreil.com> Acked-by: Grant Grundler <grundler@parisc-linux.org>
2012-04-07xircom_cb: stop using net_device.{base_addr, irq} and convert to __iomem.Francois Romieu1-103/+124
Signed-off-by: Francois Romieu <romieu@fr.zoreil.com> Acked-by: Grant Grundler <grundler@parisc-linux.org>
2012-04-07xircom_cb: fix device probe error path.Francois Romieu1-19/+34
- unbalanced pci_disable_device - PCI ressources were not released - mismatching pci_alloc_.../kfree pairs are replaced by DMA alloc helpers. Signed-off-by: Francois Romieu <romieu@fr.zoreil.com> Ack-by: Grant Grundler <grundler@parisc-linux.org>
2012-04-07uli526x: fix regions leak in driver probe error path.Francois Romieu1-28/+20
Signed-off-by: Francois Romieu <romieu@fr.zoreil.com> Ack-by: Grant Grundler <grundler@parisc-linux.org>
2012-04-07sunhme: stop using net_device.{base_addr, irq}.Francois Romieu2-10/+9
Signed-off-by: Francois Romieu <romieu@fr.zoreil.com>
2012-04-07tulip_core: stop using net_device.{base_addr, irq}.Francois Romieu1-11/+16
Signed-off-by: Francois Romieu <romieu@fr.zoreil.com> Ack-by: Grant Grundler <grundler@parisc-linux.org>
2012-04-07sis190: stop using net_device.{base_addr, irq}Francois Romieu1-15/+11
Signed-off-by: Francois Romieu <romieu@fr.zoreil.com>
2012-04-07sc92031: stop using net_device.{base_addr, irq}Francois Romieu1-23/+11
Signed-off-by: Francois Romieu <romieu@fr.zoreil.com>
2012-04-07winbond840: stop using net_device.{base_addr, irq}.Francois Romieu1-9/+8
Signed-off-by: Francois Romieu <romieu@fr.zoreil.com>
2012-04-07bnx2: stop using net_device.{base_addr, irq}.Francois Romieu1-27/+14
Signed-off-by: Francois Romieu <romieu@fr.zoreil.com> Acked-by: Michael Chan <mchan@broadcom.com>
2012-04-07starfire: remove deprecated options.Francois Romieu1-34/+6
Some settings are duplicated between ethtool link management and module options. The latter is trimmed. The half duplex, speed and autonegotiation defaults are kept unchanged. Signed-off-by: Francois Romieu <romieu@fr.zoreil.com> Cc: Ion Badulescu <ionut@badula.org>
2012-04-07starfire: stop using net_device.{base_addr, irq}.Francois Romieu1-9/+5
It's useless to check mem_start on a newly allocated device as well. Signed-off-by: Francois Romieu <romieu@fr.zoreil.com> Cc: Ion Badulescu <ionut@badula.org>
2012-04-07yellowfin: stop using net_device.{base_addr, irq}.Francois Romieu1-18/+14
Signed-off-by: Francois Romieu <romieu@fr.zoreil.com>
2012-04-078139cp: stop using net_device.{base_addr, irq}.Francois Romieu1-10/+11
Signed-off-by: Francois Romieu <romieu@fr.zoreil.com>
2012-04-07s2io: stop using net_device.{base_addr, irq}.Francois Romieu1-9/+5
Signed-off-by: Francois Romieu <romieu@fr.zoreil.com> Cc: Jon Mason <jdmason@kudzu.us>
2012-04-07atl1e: stop using net_device.{base_addr, irq}.Francois Romieu1-11/+6
Signed-off-by: Francois Romieu <romieu@fr.zoreil.com> Cc: Jay Cliburn <jcliburn@gmail.com> Cc: Chris Snook <chris.snook@gmail.com>
2012-04-07fealnx: stop using net_device.{base_addr, irq}.Francois Romieu1-8/+7
Signed-off-by: Francois Romieu <romieu@fr.zoreil.com>
2012-04-07vxge: stop using net_device.{base_addr, irq}.Francois Romieu1-11/+7
Signed-off-by: Francois Romieu <romieu@fr.zoreil.com> Cc: Jon Mason <jdmason@kudzu.us>
2012-04-07sundance: stop using net_device.{base_addr, irq}.Francois Romieu1-7/+5
Signed-off-by: Francois Romieu <romieu@fr.zoreil.com>
2012-04-07via-velocity: stop using net_device.{base_addr, irq}.Francois Romieu1-7/+2
Signed-off-by: Francois Romieu <romieu@fr.zoreil.com> Cc: David Lv <DavidLv@viatech.com.cn>
2012-04-07hamachi: stop using net_device.{base_addr, irq}.Francois Romieu1-8/+3
Signed-off-by: Francois Romieu <romieu@fr.zoreil.com>
2012-04-07via-rhine: stop using net_device.{base_addr, irq}.Francois Romieu1-6/+6
Signed-off-by: Francois Romieu <romieu@fr.zoreil.com> Cc: David Lv <DavidLv@viatech.com.cn>
2012-04-07atl1c: stop using net_device.{base_addr, irq}.Francois Romieu1-4/+1
Signed-off-by: Francois Romieu <romieu@fr.zoreil.com> Cc: Jay Cliburn <jcliburn@gmail.com> Cc: Chris Snook <chris.snook@gmail.com>
2012-04-07forcedeth: stop using net_device.{base_addr, irq}.Francois Romieu1-5/+0
Signed-off-by: Francois Romieu <romieu@fr.zoreil.com>
2012-04-07tehuti: stop using net_device.{base_addr, irq}.Francois Romieu1-4/+0
Signed-off-by: Francois Romieu <romieu@fr.zoreil.com> Cc: Andy Gospodarek <andy@greyhouse.net>
2012-04-07sungem: stop using net_device.{base_addr, irq}.Francois Romieu1-2/+0
Signed-off-by: Francois Romieu <romieu@fr.zoreil.com>
2012-04-06stmmac: fix build when CONFIG_OF is enableGiuseppe Cavallaro1-1/+1
Reported-by: Stephen Rothwell <sfr@canb.auug.org.au> Signed-off-by: Giuseppe Cavallaro <peppe.cavallaro@st.com> Signed-off-by: David S. Miller <davem@davemloft.net>
2012-04-06gianfar: Include linux/net_tstamp.hDavid S. Miller1-0/+1
Reported-by: Paul Gortmaker <paul.gortmaker@windriver.com> Signed-off-by: David S. Miller <davem@davemloft.net>
2012-04-06bfin: Fix build failure due to get_ts_info() changes.David S. Miller1-1/+1
Reported-by: Paul Gortmaker <paul.gortmaker@windriver.com> Signed-off-by: David S. Miller <davem@davemloft.net>
2012-04-05net/mlx4_en: Set max rate-limit for a TCAmir Vadai2-0/+46
This patch is using the DCB netlink to set rate limit per ETS TC Values are accepted in Kbps and rounded up to the nearest multiply of 100Mbps. Signed-off-by: Amir Vadai <amirv@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>
2012-04-05net/mlx4_en: sk_prio <=> UP for untagged trafficAmir Vadai2-1/+19
Since vlan egress map is only good for tagged traffic, need to have other mapping to be used by untagged traffic. For that, the driver uses sch_mqprio mapping. This mapping could be set by using tc tool from iproute2 package. Mapped UP will be used by the HW for QoS purposes, but won't go out on the wire. Signed-off-by: Amir Vadai <amirv@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>
2012-04-05net/mlx4_en: DCB QoS supportAmir Vadai5-0/+248
Set TSA, promised BW and PFC using IEEE 802.1qaz netlink commands. Signed-off-by: Amir Vadai <amirv@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>
2012-04-05net/mlx4_core: set port QoS attributesAmir Vadai3-0/+84
Adding QoS firmware commands: - mlx4_en_SET_PORT_PRIO2TC - set UP <=> TC - mlx4_en_SET_PORT_SCHEDULER - set promised BW, max BW and PG number Signed-off-by: Amir Vadai <amirv@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>
2012-04-05net/mlx4_en: Force user priority by QP attributeAmir Vadai6-16/+17
Instead of relying on HW to change schedule queue by UP, schedule queue is fixed for a tx_ring, and UP in WQE is ignored in this aspect. This resolves two issues with untagged traffic: 1. untagged traffic has no UP in packet which is needed for QoS. The change above allows setting the schedule queue (and by that the UP) of such a stream. 2. BlueFlame uses the same field used by vlan tag. So forcing UP from QPC allows using BF for untagged but prioritized traffic. In old firmware that force UP is not supported, untagged traffic will not subject to QoS. Because UP is set by QP, need to always have a tx ring per UP, even if pfcrx module paramter is false. Signed-off-by: Amir Vadai <amirv@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>
2012-04-05net: sh_eth: add support R8A7740Yoshihiro Shimoda3-6/+120
The R8A7740 has a Gigabit Ethernet MAC. This patch supports it. Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com> Tested-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> Signed-off-by: David S. Miller <davem@davemloft.net>
2012-04-05Ethernet driver for the WIZnet W5100 chipMike Sinkovsky3-0/+821
Based on original driver from chip manufacturer, but nearly full rewite. Tested and used in production with Blackfin BF531 embedded processor. Signed-off-by: Mike Sinkovsky <msink@permonline.ru> Signed-off-by: David S. Miller <davem@davemloft.net>
2012-04-05Ethernet driver for the WIZnet W5300 chipMike Sinkovsky5-0/+790
Based on original driver from chip manufacturer, but nearly full rewite. Tested and used in production with Blackfin BF531 embedded processor. Signed-off-by: Mike Sinkovsky <msink@permonline.ru> Signed-off-by: David S. Miller <davem@davemloft.net>
2012-04-04vxge: Convert macro to inline functionJoe Perches2-9/+12
Convert the macro to inline function to check the arguments. Signed-off-by: Joe Perches <joe@perches.com> Signed-off-by: David S. Miller <davem@davemloft.net>
2012-04-04team: add loadbalance modeJiri Pirko3-0/+200
This patch introduces new team mode. It's TX port is selected by user-set BPF hash function. Signed-off-by: Jiri Pirko <jpirko@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
2012-04-04team: add binary option typeJiri Pirko1-4/+26
For transfering generic binary data (e.g. BPF code), introduce new binary option type. Signed-off-by: Jiri Pirko <jpirko@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
2012-04-04stmmac: update the driver version March 2012Giuseppe CAVALLARO1-1/+1
Signed-off-by: Giuseppe Cavallaro <peppe.cavallaro@st.com> Signed-off-by: David S. Miller <davem@davemloft.net>