move THERMAL symbols into the generic config
[openwrt.git] / target / linux / au1000 / patches / 005-au1000_eth_link_beat.patch
1 --- a/drivers/net/au1000_eth.c
2 +++ b/drivers/net/au1000_eth.c
3 @@ -15,6 +15,9 @@
4 * Author: MontaVista Software, Inc.
5 * ppopov@mvista.com or source@mvista.com
6 *
7 + * Bjoern Riemer 2004
8 + * riemer@fokus.fraunhofer.de or riemer@riemer-nt.de
9 + * // fixed the link beat detection with ioctls (SIOCGMIIPHY)
10 * ########################################################################
11 *
12 * This program is free software; you can distribute it and/or modify it
13 @@ -835,6 +838,10 @@ static int au1000_init(struct net_device
14
15 control = MAC_RX_ENABLE | MAC_TX_ENABLE;
16 #ifndef CONFIG_CPU_LITTLE_ENDIAN
17 + /*riemer: fix for startup without cable */
18 + if (!link)
19 + dev->flags &= ~IFF_RUNNING;
20 +
21 control |= MAC_BIG_ENDIAN;
22 #endif
23 if (aup->phy_dev) {
This page took 0.046414 seconds and 5 git commands to generate.