source: freewrt/target/linux/au1000-2.6/patches/005-au1000_eth_link_beat.patch@ 475ad56

freewrt_1_0 freewrt_2_0
Last change on this file since 475ad56 was 475ad56, checked in by Waldemar Brodkorb <wbx@…>, 20 years ago

add OpenWrt trunk revision 3830.

git-svn-id: svn://www.freewrt.org/trunk/freewrt@1 afb5a338-a214-0410-bd46-81f09a774fd1

  • Property mode set to 100644
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  
    1212 * Author: MontaVista Software, Inc.
    1313 *              ppopov@mvista.com or source@mvista.com
    1414 *
     15 *         Bjoern Riemer 2004
     16 *           riemer@fokus.fraunhofer.de or riemer@riemer-nt.de
     17 *             // fixed the link beat detection with ioctls (SIOCGMIIPHY)
    1518 * ########################################################################
    1619 *
    1720 *  This program is free software; you can distribute it and/or modify it
     
    16721675        aup->phy_ops->phy_status(dev, aup->phy_addr, &link, &speed);
    16731676        control = MAC_DISABLE_RX_OWN | MAC_RX_ENABLE | MAC_TX_ENABLE;
    16741677#ifndef CONFIG_CPU_LITTLE_ENDIAN
     1678        /*riemer: fix for startup without cable */
     1679        if (!link)
     1680                dev->flags &= ~IFF_RUNNING;
     1681
    16751682        control |= MAC_BIG_ENDIAN;
    16761683#endif
    16771684        if (link && (dev->if_port == IF_PORT_100BASEFX)) {
Note: See TracBrowser for help on using the repository browser.