1 diff -urN linux-2.6.16.7/drivers/net/au1000_eth.c linux-2.6.16.7.new/drivers/net/au1000_eth.c
2 --- linux-2.6.16.7/drivers/net/au1000_eth.c 2006-04-17 23:53:25.000000000 +0200
3 +++ linux-2.6.16.7.new/drivers/net/au1000_eth.c 2006-04-23 01:42:48.000000000 +0200
5 * Author: MontaVista Software, Inc.
6 * ppopov@mvista.com or source@mvista.com
9 + * riemer@fokus.fraunhofer.de or riemer@riemer-nt.de
10 + * // fixed the link beat detection with ioctls (SIOCGMIIPHY)
11 * ########################################################################
13 * This program is free software; you can distribute it and/or modify it
14 @@ -1672,6 +1675,10 @@
15 aup->phy_ops->phy_status(dev, aup->phy_addr, &link, &speed);
16 control = MAC_DISABLE_RX_OWN | MAC_RX_ENABLE | MAC_TX_ENABLE;
17 #ifndef CONFIG_CPU_LITTLE_ENDIAN
18 + /*riemer: fix for startup without cable */
20 + dev->flags &= ~IFF_RUNNING;
22 control |= MAC_BIG_ENDIAN;
24 if (link && (dev->if_port == IF_PORT_100BASEFX)) {