Subject: au1000_eth LEDs for mtx-1

From: Bruno Randolf <[email-masked]>
Date: Wed, 26 Nov 2003 13:28:10 +0100

hi again!

please also consider this small patch for enabling the traffic indication LEDs 
of au1000_eth for the mtx-1 board.

thanks!

bruno

- -- 
4G Systeme GmbH
Am Sandtorkai 71
20457 Hamburg
fon: +49 (0)40 / 48 40 33 28
fax: +49 (0)40 / 48 40 33 30
mail: [email-masked]
--- /data/kernel/mips-2.4.23-rc5/drivers/net/au1000_eth.c	2003-11-26 10:51:55.000000000 +0100
+++ drivers/net/au1000_eth.c	2003-11-26 13:16:26.000000000 +0100
@@ -241,7 +241,11 @@
 	mdelay(1);
 
 	/* set up LEDs to correct display */
+#ifdef CONFIG_MIPS_MTX1
+	mdio_write(dev, phy_addr, 17, 0xff80);
+#else
 	mdio_write(dev, phy_addr, 17, 0xffc0);
+#endif
 
 	if (au1000_debug > 4)
 		dump_mii(dev, phy_addr);

---

From: Pete Popov <[email-masked]>
Date: 26 Nov 2003 08:29:11 -0800

Bruno,

I'll take a look at both patches this weekend.

Pete

On Wed, 2003-11-26 at 04:28, Bruno Randolf wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> hi again!
> 
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.2.3 (GNU/Linux)
> 
> iD8DBQE/xJxafg2jtUL97G4RAuBTAJ9eujYeu4T8Vuo5sAmRTx6ARg6W4QCfQYbo
> LhHUKTKuMQwfgkJu62nTsF0=
> =auPq
> -----END PGP SIGNATURE-----