From: Felix Fietkau Date: Tue, 10 May 2005 14:33:14 +0000 (+0000) Subject: update oleg's b44 patch to initialize switch access on driver load X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=f0c80f03fc6ab142916e682e4e51d81564b83c61;p=librecmc%2Flibrecmc.git update oleg's b44 patch to initialize switch access on driver load SVN-Revision: 821 --- 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: