summaryrefslogtreecommitdiffstats
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: replace continue with break to reduce unnecessary loop in xxx_xmarksourcesRongQing.Li2012-04-052-2/+2
| | | | | | | | | The conditional which decides to skip inactive filters does not change with the change of loop index, so it is unnecessary to check them many times. Signed-off-by: RongQing.Li <roy.qing.li@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
* net: remove k{un}map_skb_frag()Eric Dumazet2012-04-053-43/+24
| | | | | | | | | | | Since commit 3e4d3af501 (mm: stack based kmap_atomic()) we dont have to disable BH anymore while mapping skb frags. We can remove kmap_skb_frag() / kunmap_skb_frag() helpers and use kmap_atomic() / kunmap_atomic() Signed-off-by: Eric Dumazet <eric.dumazet@gmail.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>
* net/dcb: Add an optional max rate attributeAmir Vadai2012-04-053-0/+34
| | | | | | | | | | | | Although not specified in 8021Qaz spec, it could be useful to enable drivers whose HW supports setting a rate limit for an ETS TC. This patch adds this optional attribute to DCB netlink. To use it, drivers should implement and register the callbacks ieee_setmaxrate and ieee_getmaxrate. The units are 64 bits long and specified in Kbps to enable usage over both slow and very fast networks. 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/route: export symbol ip_tos2prioAmir Vadai2012-04-051-1/+1
| | | | | | | Need to export this to enable drivers use rt_tos2priority() Signed-off-by: Amir Vadai <amirv@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>
OpenPOWER on IntegriCloud