Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 78703894 authored by David S. Miller's avatar David S. Miller
Browse files

Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6

parents 005c79b3 b98ac702
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -2201,8 +2201,7 @@ no_mem:
		} else if ((len = ntohl(r->len_cq)) != 0) {
			struct sge_fl *fl;

			if (eth)
				lro = qs->lro_enabled && is_eth_tcp(rss_hi);
			lro &= eth && is_eth_tcp(rss_hi);

			fl = (len & F_RSPD_FLQ) ? &qs->fl[1] : &qs->fl[0];
			if (fl->use_pages) {
+3 −0
Original line number Diff line number Diff line
@@ -372,6 +372,9 @@ static int gfar_probe(struct of_device *ofdev,
	/* Reset MAC layer */
	gfar_write(&priv->regs->maccfg1, MACCFG1_SOFT_RESET);

	/* We need to delay at least 3 TX clocks */
	udelay(2);

	tempval = (MACCFG1_TX_FLOW | MACCFG1_RX_FLOW);
	gfar_write(&priv->regs->maccfg1, tempval);

+1 −1
Original line number Diff line number Diff line
@@ -314,7 +314,7 @@ extern const char gfar_driver_version[];
#define ATTRELI_EI(x) (x)

#define BD_LFLAG(flags) ((flags) << 16)
#define BD_LENGTH_MASK		0x00ff
#define BD_LENGTH_MASK		0x0000ffff

/* TxBD status field bits */
#define TXBD_READY		0x8000