Re: Sun GEM card looses TX on x86 32bit PCI

Beezly (beezly@beezly.org.uk)
11 Mar 2002 18:35:01 +0000


--=-2WTo7g6NxiSiUQwrMa/C
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

Hi David,

Sorry it took so long for me to get back to you. Sadly it also hung with
this patch ;) I was unable to get an oops out of it (machine was
completely hosed and in X so I couldn't even note the oops on paper :(
).

Beezly

On Mon, 2002-03-11 at 12:21, David S. Miller wrote:
> From: Beezly <beezly@beezly.org.uk>
> Date: 11 Mar 2002 12:19:24 +0000
>=20
> I managed to run the latest patch, but it appears to Oops when the
> overflow condition occurs. Sadly I was not able to get the output of t=
he
> oops... but it was at exactly the same time that I was run my "test"
> which causes the RX to halt.
>=20
> Duh, this will fix it:
>=20
> --- drivers/net/sungem.c.~1~ Mon Mar 11 04:18:58 2002
> +++ drivers/net/sungem.c Mon Mar 11 04:24:13 2002
> @@ -317,7 +317,7 @@
> }
> =20
> /* Second, disable RX DMA. */
> - writel(0, RXDMA_CFG);
> + writel(0, gp->regs + RXDMA_CFG);
> for (limit =3D 0; limit < 5000; limit++) {
> if (!(readl(gp->regs + RXDMA_CFG) & RXDMA_CFG_ENABLE))
> break;

--=-2WTo7g6NxiSiUQwrMa/C
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQA8jPjVXu4ZFsMQjPgRAmSWAKDH0+GZdRbMNpVoh4VBvJElwiucpACeJWJE
wpiSQy0j0v0Z9wp+YvOqJpI=
=yVYr
-----END PGP SIGNATURE-----

--=-2WTo7g6NxiSiUQwrMa/C--
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/