From 7e578923c0f1f2fdd916a695801ad6b95ae69c91 Mon Sep 17 00:00:00 2001 From: nbd Date: Tue, 10 May 2005 14:33:14 +0000 Subject: update oleg's b44 patch to initialize switch access on driver load git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@821 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- package/linux/kernel-patches/316-b44_mii_phy.patch | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/package/linux/kernel-patches/316-b44_mii_phy.patch b/package/linux/kernel-patches/316-b44_mii_phy.patch index ace58c963..524f7eda3 100644 --- a/package/linux/kernel-patches/316-b44_mii_phy.patch +++ b/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: -- cgit v1.2.3