Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6
Conflicts: drivers/isdn/i4l/isdn_net.c fs/cifs/connect.c
This commit is contained in:
@@ -1336,8 +1336,10 @@ static void get_drvinfo(struct net_device *dev, struct ethtool_drvinfo *info)
|
||||
u32 fw_vers = 0;
|
||||
u32 tp_vers = 0;
|
||||
|
||||
spin_lock(&adapter->stats_lock);
|
||||
t3_get_fw_version(adapter, &fw_vers);
|
||||
t3_get_tp_version(adapter, &tp_vers);
|
||||
spin_unlock(&adapter->stats_lock);
|
||||
|
||||
strcpy(info->driver, DRV_NAME);
|
||||
strcpy(info->version, DRV_VERSION);
|
||||
@@ -2744,7 +2746,7 @@ static void set_nqsets(struct adapter *adap)
|
||||
int hwports = adap->params.nports;
|
||||
int nqsets = SGE_QSETS;
|
||||
|
||||
if (adap->params.rev > 0) {
|
||||
if (adap->params.rev > 0 && adap->flags & USING_MSIX) {
|
||||
if (hwports == 2 &&
|
||||
(hwports * nqsets > SGE_QSETS ||
|
||||
num_cpus >= nqsets / hwports))
|
||||
|
Reference in New Issue
Block a user