summaryrefslogtreecommitdiffstats
path: root/drivers (follow)
Commit message (Collapse)AuthorAgeFilesLines
* wiznet: Fix Kconfig dependencies.David S. Miller2012-04-101-0/+4
| | | | | | | | | | | Both drivers need to depend upon HAS_IOMEM, otherwise we get a build failure on platforms like S390. All the driver specific config options need to depend upon the drivers themselves. Reported-by: Stephen Rothwell <sfr@canb.auug.org.au> Signed-off-by: David S. Miller <davem@davemloft.net>
* fealnx: Remove unused local label 'out' in netdev_open().David S. Miller2012-04-071-1/+0
| | | | Signed-off-by: David S. Miller <davem@davemloft.net>
* ipw2100: remove useless tests in the PCI device remove path.Francois Romieu2012-04-071-30/+26
| | | | | | | Everything has been set up in the PCI probe function. Signed-off-by: Francois Romieu <romieu@fr.zoreil.com> Cc: Stanislav Yakovlev <stas.yakovlev@gmail.com>
* ipw2100: stop using net_device.base_addr.Francois Romieu2012-04-072-39/+39
| | | | | | | | No net_device.irq removal yet. The driver probe, remove and failure paths need some care beforehand. Signed-off-by: Francois Romieu <romieu@fr.zoreil.com> Cc: Stanislav Yakovlev <stas.yakovlev@gmail.com>
* ipw2200: stop using net_device.{base_addr, irq}.Francois Romieu2012-04-071-4/+0
| | | | | Signed-off-by: Francois Romieu <romieu@fr.zoreil.com> Cc: Stanislav Yakovlev <stas.yakovlev@gmail.com>
* rrunner: stop using net_device.{base_addr, irq}.Francois Romieu2012-04-071-47/+35
| | | | Signed-off-by: Francois Romieu <romieu@fr.zoreil.com>
* myri10ge: stop using net_device.{base_addr, irq}.Francois Romieu2012-04-071-5/+2
| | | | | | Signed-off-by: Francois Romieu <romieu@fr.zoreil.com> Cc: Jon Mason <mason@myri.com> Acked-by: Andrew Gallatin <gallatin@myri.com>
* sis900: stop using net_device.{base_addr, irq} and convert to __iomem.Francois Romieu2012-04-071-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>
* dmfe: stop using net_device.{base_addr, irq} and convert to __iomem.Francois Romieu2012-04-071-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>
* epic100: stop using net_device.{base_addr, irq} and convert to __iomem.Francois Romieu2012-04-071-202/+201
| | | | Signed-off-by: Francois Romieu <romieu@fr.zoreil.com>
* uli526x: stop using net_device.{base_addr, irq} and convert to __iomem.Francois Romieu2012-04-071-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>
* dl2k: stop using net_device.{base_addr, irq} and convert to __iomem.Francois Romieu2012-04-072-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>
* 8139too: dev->{base_addr, irq} removal.Francois Romieu2012-04-071-80/+56
| | | | Signed-off-by: Francois Romieu <romieu@fr.zoreil.com>
* natsemi: stop using net_device.{base_addr, irq}.Francois Romieu2012-04-071-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>
* smsc9420: stop using net_device.{base_addr, irq}.Francois Romieu2012-04-071-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>
* de2104x: stop using net_device.{base_addr, irq}.Francois Romieu2012-04-071-18/+16
| | | | | Signed-off-by: Francois Romieu <romieu@fr.zoreil.com> Acked-by: Grant Grundler <grundler@parisc-linux.org>
* xircom_cb: stop using net_device.{base_addr, irq} and convert to __iomem.Francois Romieu2012-04-071-103/+124
| | | | | Signed-off-by: Francois Romieu <romieu@fr.zoreil.com> Acked-by: Grant Grundler <grundler@parisc-linux.org>
* xircom_cb: fix device probe error path.Francois Romieu2012-04-071-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>
* uli526x: fix regions leak in driver probe error path.Francois Romieu2012-04-071-28/+20
| | | | | Signed-off-by: Francois Romieu <romieu@fr.zoreil.com> Ack-by: Grant Grundler <grundler@parisc-linux.org>
* sunhme: stop using net_device.{base_addr, irq}.Francois Romieu2012-04-072-10/+9
| | | | Signed-off-by: Francois Romieu <romieu@fr.zoreil.com>
* tulip_core: stop using net_device.{base_addr, irq}.Francois Romieu2012-04-071-11/+16
| | | | | Signed-off-by: Francois Romieu <romieu@fr.zoreil.com> Ack-by: Grant Grundler <grundler@parisc-linux.org>
* sis190: stop using net_device.{base_addr, irq}Francois Romieu2012-04-071-15/+11
| | | | Signed-off-by: Francois Romieu <romieu@fr.zoreil.com>
* sc92031: stop using net_device.{base_addr, irq}Francois Romieu2012-04-071-23/+11
| | | | Signed-off-by: Francois Romieu <romieu@fr.zoreil.com>
* winbond840: stop using net_device.{base_addr, irq}.Francois Romieu2012-04-071-9/+8
| | | | Signed-off-by: Francois Romieu <romieu@fr.zoreil.com>
* bnx2: stop using net_device.{base_addr, irq}.Francois Romieu2012-04-071-27/+14
| | | | | Signed-off-by: Francois Romieu <romieu@fr.zoreil.com> Acked-by: Michael Chan <mchan@broadcom.com>
* starfire: remove deprecated options.Francois Romieu2012-04-071-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>
* starfire: stop using net_device.{base_addr, irq}.Francois Romieu2012-04-071-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>
* yellowfin: stop using net_device.{base_addr, irq}.Francois Romieu2012-04-071-18/+14
| | | | Signed-off-by: Francois Romieu <romieu@fr.zoreil.com>
* 8139cp: stop using net_device.{base_addr, irq}.Francois Romieu2012-04-071-10/+11
| | | | Signed-off-by: Francois Romieu <romieu@fr.zoreil.com>
* s2io: stop using net_device.{base_addr, irq}.Francois Romieu2012-04-071-9/+5
| | | | | Signed-off-by: Francois Romieu <romieu@fr.zoreil.com> Cc: Jon Mason <jdmason@kudzu.us>
* atl1e: stop using net_device.{base_addr, irq}.Francois Romieu2012-04-071-11/+6
| | | | | | Signed-off-by: Francois Romieu <romieu@fr.zoreil.com> Cc: Jay Cliburn <jcliburn@gmail.com> Cc: Chris Snook <chris.snook@gmail.com>
* fealnx: stop using net_device.{base_addr, irq}.Francois Romieu2012-04-071-8/+7
| | | | Signed-off-by: Francois Romieu <romieu@fr.zoreil.com>
* vxge: stop using net_device.{base_addr, irq}.Francois Romieu2012-04-071-11/+7
| | | | | Signed-off-by: Francois Romieu <romieu@fr.zoreil.com> Cc: Jon Mason <jdmason@kudzu.us>
* sundance: stop using net_device.{base_addr, irq}.Francois Romieu2012-04-071-7/+5
| | | | Signed-off-by: Francois Romieu <romieu@fr.zoreil.com>
* via-velocity: stop using net_device.{base_addr, irq}.Francois Romieu2012-04-071-7/+2
| | | | | Signed-off-by: Francois Romieu <romieu@fr.zoreil.com> Cc: David Lv <DavidLv@viatech.com.cn>
* hamachi: stop using net_device.{base_addr, irq}.Francois Romieu2012-04-071-8/+3
| | | | Signed-off-by: Francois Romieu <romieu@fr.zoreil.com>
* via-rhine: stop using net_device.{base_addr, irq}.Francois Romieu2012-04-071-6/+6
| | | | | Signed-off-by: Francois Romieu <romieu@fr.zoreil.com> Cc: David Lv <DavidLv@viatech.com.cn>
* atl1c: stop using net_device.{base_addr, irq}.Francois Romieu2012-04-071-4/+1
| | | | | | Signed-off-by: Francois Romieu <romieu@fr.zoreil.com> Cc: Jay Cliburn <jcliburn@gmail.com> Cc: Chris Snook <chris.snook@gmail.com>
* forcedeth: stop using net_device.{base_addr, irq}.Francois Romieu2012-04-071-5/+0
| | | | Signed-off-by: Francois Romieu <romieu@fr.zoreil.com>
* tehuti: stop using net_device.{base_addr, irq}.Francois Romieu2012-04-071-4/+0
| | | | | Signed-off-by: Francois Romieu <romieu@fr.zoreil.com> Cc: Andy Gospodarek <andy@greyhouse.net>
* sungem: stop using net_device.{base_addr, irq}.Francois Romieu2012-04-071-2/+0
| | | | Signed-off-by: Francois Romieu <romieu@fr.zoreil.com>
* stmmac: fix build when CONFIG_OF is enableGiuseppe Cavallaro2012-04-061-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>
* gianfar: Include linux/net_tstamp.hDavid S. Miller2012-04-061-0/+1
| | | | | Reported-by: Paul Gortmaker <paul.gortmaker@windriver.com> Signed-off-by: David S. Miller <davem@davemloft.net>
* bfin: Fix build failure due to get_ts_info() changes.David S. Miller2012-04-061-1/+1
| | | | | Reported-by: Paul Gortmaker <paul.gortmaker@windriver.com> Signed-off-by: David S. Miller <davem@davemloft.net>
* net/mlx4_en: Set max rate-limit for a TCAmir Vadai2012-04-052-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>
* IB/rdma_cm: TOS <=> UP mapping for IBoEAmir Vadai2012-04-051-1/+5
| | | | | | | | | Both tagged traffic and untagged traffic use tc tool mapping. Treat RDMA TOS same as IP TOS when mapping to SL Signed-off-by: Amir Vadai <amirv@mellanox.com> CC: Sean Hefty <sean.hefty@intel.com> Signed-off-by: David S. Miller <davem@davemloft.net>
* net/mlx4_en: sk_prio <=> UP for untagged trafficAmir Vadai2012-04-052-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>
* net/mlx4_en: DCB QoS supportAmir Vadai2012-04-055-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>
* net/mlx4_core: set port QoS attributesAmir Vadai2012-04-053-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>
* net/mlx4_en: Force user priority by QP attributeAmir Vadai2012-04-056-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>