source:
freewrt/target/linux/au1000-2.6/patches/005-au1000_eth_link_beat.patch@
475ad56
| Last change on this file since 475ad56 was 475ad56, checked in by , 20 years ago | |
|---|---|
|
|
| File size: 1.0 KB | |
-
drivers/net/au1000_eth.c
diff -urN linux-2.6.16.7/drivers/net/au1000_eth.c linux-2.6.16.7.new/drivers/net/au1000_eth.c
old new 12 12 * Author: MontaVista Software, Inc. 13 13 * ppopov@mvista.com or source@mvista.com 14 14 * 15 * Bjoern Riemer 2004 16 * riemer@fokus.fraunhofer.de or riemer@riemer-nt.de 17 * // fixed the link beat detection with ioctls (SIOCGMIIPHY) 15 18 * ######################################################################## 16 19 * 17 20 * This program is free software; you can distribute it and/or modify it … … 1672 1675 aup->phy_ops->phy_status(dev, aup->phy_addr, &link, &speed); 1673 1676 control = MAC_DISABLE_RX_OWN | MAC_RX_ENABLE | MAC_TX_ENABLE; 1674 1677 #ifndef CONFIG_CPU_LITTLE_ENDIAN 1678 /*riemer: fix for startup without cable */ 1679 if (!link) 1680 dev->flags &= ~IFF_RUNNING; 1681 1675 1682 control |= MAC_BIG_ENDIAN; 1676 1683 #endif 1677 1684 if (link && (dev->if_port == IF_PORT_100BASEFX)) {
Note:
See TracBrowser
for help on using the repository browser.
