kernel-fxtec-pro1x/drivers/net/mlx4
Eli Cohen 33c87f0af6 mlx4_core: Allow protocol drivers to find corresponding interfaces
Add a mechanism for mlx4 protocol drivers to get a pointer to other
drivers's device objects.  For this, an exported function,
mlx4_get_protocol_dev() is added, which allows a driver to get some
other driver's device based on the protocol that the driver
implements.  Two protocols are added: MLX4_PROTOCOL_IB and
MLX4_PROTOCOL_EN.

This will be used in mlx4 IBoE support so that mlx4_ib can find the
corresponding mlx4_en netdev.

Signed-off-by: Eli Cohen <eli@mellanox.co.il>

[ Clean up and rename a few things.  - Roland ]

Signed-off-by: Roland Dreier <rolandd@cisco.com>
2010-10-25 10:20:39 -07:00
..
alloc.c mlx4: use bitmap_find_next_zero_area 2009-12-16 07:20:19 -08:00
catas.c drivers/net/mlx4: Use %pV, pr_<level>, printk_once 2010-07-15 19:05:17 -07:00
cmd.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
cq.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
en_cq.c mlx4_en: Fix partial rings feature 2009-05-25 00:35:53 -07:00
en_ethtool.c mlx4: add dynamic LRO disable support 2010-06-28 23:04:10 -07:00
en_main.c mlx4_core: Allow protocol drivers to find corresponding interfaces 2010-10-25 10:20:39 -07:00
en_netdev.c mlx4_en: use net_device dev_id to indicate port number 2010-05-31 00:27:45 -07:00
en_port.c mlx4_en: Move to SW counters for total bytes and packets 2009-04-21 01:47:07 -07:00
en_port.h mlx4_en: Add driver for Mellanox ConnectX 10GbE NIC 2008-10-22 15:47:49 -07:00
en_resources.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
en_rx.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
en_tx.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
eq.c drivers/net/mlx4: Use %pV, pr_<level>, printk_once 2010-07-15 19:05:17 -07:00
fw.c mlx4_core: Fix parsing of reserved EQ cap 2009-11-12 15:51:16 -08:00
fw.h
icm.c mlx4_core: Clean up mlx4_alloc_icm() a bit 2010-05-20 15:58:22 -07:00
icm.h
intf.c mlx4_core: Allow protocol drivers to find corresponding interfaces 2010-10-25 10:20:39 -07:00
main.c drivers/net/mlx4: Use %pV, pr_<level>, printk_once 2010-07-15 19:05:17 -07:00
Makefile mlx4_en renamed en_params.c to en_ethtool.c 2009-06-02 02:29:04 -07:00
mcg.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
mlx4.h drivers/net/mlx4: Use %pV, pr_<level>, printk_once 2010-07-15 19:05:17 -07:00
mlx4_en.h drivers/net/mlx4: Use %pV, pr_<level>, printk_once 2010-07-15 19:05:17 -07:00
mr.c drivers/net: use __packed annotation 2010-06-03 03:18:23 -07:00
pd.c mlx4_core: Remove unnecessary includes of <linux/init.h> 2009-09-05 20:24:49 -07:00
port.c mlx4_core: Don't leak mailbox for SET_PORT on Ethernet ports 2009-03-31 09:54:15 -07:00
profile.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
qp.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
reset.c mlx4_core: Remove unnecessary includes of <linux/init.h> 2009-09-05 20:24:49 -07:00
sense.c mlx4_core: return a negative error value 2009-12-13 19:47:42 -08:00
srq.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00