Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
This commit is contained in:
@@ -3224,7 +3224,7 @@ static int tg3_nvram_read_using_eeprom(struct tg3 *tp,
|
||||
return 0;
|
||||
}
|
||||
|
||||
#define NVRAM_CMD_TIMEOUT 100
|
||||
#define NVRAM_CMD_TIMEOUT 5000
|
||||
|
||||
static int tg3_nvram_exec_cmd(struct tg3 *tp, u32 nvram_cmd)
|
||||
{
|
||||
@@ -3232,7 +3232,7 @@ static int tg3_nvram_exec_cmd(struct tg3 *tp, u32 nvram_cmd)
|
||||
|
||||
tw32(NVRAM_CMD, nvram_cmd);
|
||||
for (i = 0; i < NVRAM_CMD_TIMEOUT; i++) {
|
||||
udelay(10);
|
||||
usleep_range(10, 40);
|
||||
if (tr32(NVRAM_CMD) & NVRAM_CMD_DONE) {
|
||||
udelay(10);
|
||||
break;
|
||||
@@ -7854,8 +7854,8 @@ static int tg3_tso_bug(struct tg3 *tp, struct sk_buff *skb)
|
||||
netif_wake_queue(tp->dev);
|
||||
}
|
||||
|
||||
segs = skb_gso_segment(skb, tp->dev->features & ~NETIF_F_TSO);
|
||||
if (IS_ERR(segs))
|
||||
segs = skb_gso_segment(skb, tp->dev->features & ~(NETIF_F_TSO | NETIF_F_TSO6));
|
||||
if (IS_ERR(segs) || !segs)
|
||||
goto tg3_tso_bug_end;
|
||||
|
||||
do {
|
||||
|
Reference in New Issue
Block a user