From b8abb00e2f4ca09b8b30f37e1065d2d449ff29f9 Mon Sep 17 00:00:00 2001 From: juhosg Date: Mon, 19 May 2008 07:34:56 +0000 Subject: [au1000] bump to 2.6.25.4, refresh kernel patches git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11199 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- .../linux/au1000/patches/005-au1000_eth_link_beat.patch | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) (limited to 'target/linux/au1000/patches/005-au1000_eth_link_beat.patch') diff --git a/target/linux/au1000/patches/005-au1000_eth_link_beat.patch b/target/linux/au1000/patches/005-au1000_eth_link_beat.patch index 946bd8454..9a7ec80fe 100644 --- a/target/linux/au1000/patches/005-au1000_eth_link_beat.patch +++ b/target/linux/au1000/patches/005-au1000_eth_link_beat.patch @@ -1,7 +1,8 @@ -diff -urN linux-2.6.16.7/drivers/net/au1000_eth.c linux-2.6.16.7.new/drivers/net/au1000_eth.c ---- linux-2.6.16.7/drivers/net/au1000_eth.c 2006-04-17 23:53:25.000000000 +0200 -+++ linux-2.6.16.7.new/drivers/net/au1000_eth.c 2006-04-23 01:42:48.000000000 +0200 -@@ -12,6 +12,9 @@ +Index: linux-2.6.25.4/drivers/net/au1000_eth.c +=================================================================== +--- linux-2.6.25.4.orig/drivers/net/au1000_eth.c ++++ linux-2.6.25.4/drivers/net/au1000_eth.c +@@ -15,6 +15,9 @@ * Author: MontaVista Software, Inc. * ppopov@mvista.com or source@mvista.com * @@ -11,9 +12,9 @@ diff -urN linux-2.6.16.7/drivers/net/au1000_eth.c linux-2.6.16.7.new/drivers/net * ######################################################################## * * This program is free software; you can distribute it and/or modify it -@@ -1672,6 +1675,10 @@ - aup->phy_ops->phy_status(dev, aup->phy_addr, &link, &speed); - control = MAC_DISABLE_RX_OWN | MAC_RX_ENABLE | MAC_TX_ENABLE; +@@ -835,6 +838,10 @@ static int au1000_init(struct net_device + + control = MAC_RX_ENABLE | MAC_TX_ENABLE; #ifndef CONFIG_CPU_LITTLE_ENDIAN + /*riemer: fix for startup without cable */ + if (!link) @@ -21,4 +22,4 @@ diff -urN linux-2.6.16.7/drivers/net/au1000_eth.c linux-2.6.16.7.new/drivers/net + control |= MAC_BIG_ENDIAN; #endif - if (link && (dev->if_port == IF_PORT_100BASEFX)) { + if (aup->phy_dev) { -- cgit v1.2.3