2008-06-17 12:57:04 +00:00
|
|
|
--- a/drivers/net/au1000_eth.c
|
|
|
|
+++ b/drivers/net/au1000_eth.c
|
2008-05-19 07:34:56 +00:00
|
|
|
@@ -15,6 +15,9 @@
|
2006-05-30 19:38:38 +00:00
|
|
|
* Author: MontaVista Software, Inc.
|
|
|
|
* ppopov@mvista.com or source@mvista.com
|
|
|
|
*
|
|
|
|
+ * Bjoern Riemer 2004
|
|
|
|
+ * riemer@fokus.fraunhofer.de or riemer@riemer-nt.de
|
|
|
|
+ * // fixed the link beat detection with ioctls (SIOCGMIIPHY)
|
|
|
|
* ########################################################################
|
|
|
|
*
|
|
|
|
* This program is free software; you can distribute it and/or modify it
|
2008-11-07 08:44:56 +00:00
|
|
|
@@ -835,6 +838,10 @@ static int au1000_init(struct net_device
|
2008-05-19 07:34:56 +00:00
|
|
|
|
|
|
|
control = MAC_RX_ENABLE | MAC_TX_ENABLE;
|
2006-05-30 19:38:38 +00:00
|
|
|
#ifndef CONFIG_CPU_LITTLE_ENDIAN
|
|
|
|
+ /*riemer: fix for startup without cable */
|
|
|
|
+ if (!link)
|
|
|
|
+ dev->flags &= ~IFF_RUNNING;
|
|
|
|
+
|
|
|
|
control |= MAC_BIG_ENDIAN;
|
|
|
|
#endif
|
2008-05-19 07:34:56 +00:00
|
|
|
if (aup->phy_dev) {
|