diff options
author | Sathya Perla <sathya.perla@emulex.com> | 2012-11-06 21:49:00 +0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-11-08 01:59:52 +0400 |
commit | dbf0f2a7998363bb89bd26a5f8579d1f58b58715 (patch) | |
tree | 56980328c85bfdd258c4df1e97e64a190f1aa359 /drivers/net/ethernet/emulex/benet/be_roce.c | |
parent | 1bc8e7e4f36c0c19dd7dea29e7c248b7c6ef3a15 (diff) | |
download | linux-dbf0f2a7998363bb89bd26a5f8579d1f58b58715.tar.xz |
be2net: remove roce on lancer
roce interface is suppored only on Skyhawk-R.
Signed-off-by: Sathya Perla <sathya.perla@emulex.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/emulex/benet/be_roce.c')
-rw-r--r-- | drivers/net/ethernet/emulex/benet/be_roce.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/drivers/net/ethernet/emulex/benet/be_roce.c b/drivers/net/ethernet/emulex/benet/be_roce.c index 866900e88df9..55d32aa0a093 100644 --- a/drivers/net/ethernet/emulex/benet/be_roce.c +++ b/drivers/net/ethernet/emulex/benet/be_roce.c @@ -47,10 +47,7 @@ static void _be_roce_dev_add(struct be_adapter *adapter) dev_info.dpp_unmapped_len = 0; } dev_info.pdev = adapter->pdev; - if (skyhawk_chip(adapter)) - dev_info.db = adapter->db; - else - dev_info.db = adapter->roce_db.base; + dev_info.db = adapter->db; dev_info.unmapped_db = adapter->roce_db.io_addr; dev_info.db_page_size = adapter->roce_db.size; dev_info.db_total_size = adapter->roce_db.total_size; |