summaryrefslogtreecommitdiff
path: root/openwrt/package/linux
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2005-05-10 14:33:14 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2005-05-10 14:33:14 +0000
commitc8fcc5a6e37072198282d2e045996c7c5d44a0ae (patch)
tree253aec11118b23c2a366903aa02c1a418d8248eb /openwrt/package/linux
parent16d8463a7b3b794cbbbdbacdb60b3a01d8252e36 (diff)
update oleg's b44 patch to initialize switch access on driver load
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@821 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'openwrt/package/linux')
-rw-r--r--openwrt/package/linux/kernel-patches/316-b44_mii_phy.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/openwrt/package/linux/kernel-patches/316-b44_mii_phy.patch b/openwrt/package/linux/kernel-patches/316-b44_mii_phy.patch
index ace58c9631..524f7eda31 100644
--- a/openwrt/package/linux/kernel-patches/316-b44_mii_phy.patch
+++ b/openwrt/package/linux/kernel-patches/316-b44_mii_phy.patch
@@ -75,3 +75,15 @@
spin_unlock_irq(&bp->lock);
return err;
+@@ -1919,6 +1929,11 @@
+ printk("%2.2x%c", dev->dev_addr[i],
+ i == 5 ? '\n' : ':');
+
++ /* Initialize phy */
++ spin_lock_irq(&bp->lock);
++ b44_chip_reset(bp);
++ spin_unlock_irq(&bp->lock);
++
+ return 0;
+
+ err_out_iounmap: