net/mlx4_core: Remove port type restrictions
commit2207b60ffb6545040e2e2620fced13deba7643c2
authorYevgeny Petrilin <yevgenyp@mellanox.co.il>
Fri, 3 Aug 2012 00:38:38 +0000 (3 00:38 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 3 Aug 2012 23:49:40 +0000 (3 16:49 -0700)
treef96c184614eef140dcc5f3e7149d1e2a39cc4071
parentc18520bd1b244fe8e3ac5358137321780a70d6e7
net/mlx4_core: Remove port type restrictions

Port1=Eth, Port2=IB restriction is no longer required.
Having RoCE, there will always rdma port initialized over ConnectX
physical port, no matter whether the link layer is IB or Ethernet.
So we always have dual port IB device.

Signed-off-by: Yevgeny Petrilin <yevgenyp@mellanox.co.il>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlx4/main.c
drivers/net/ethernet/mellanox/mlx4/sense.c