diff options
author | Felix Fietkau <nbd@openwrt.org> | 2005-05-10 14:33:14 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2005-05-10 14:33:14 +0000 |
commit | f0c80f03fc6ab142916e682e4e51d81564b83c61 (patch) | |
tree | 253aec11118b23c2a366903aa02c1a418d8248eb /openwrt/package | |
parent | f4eabdded9d817335d4ed7a5958ae09da258e313 (diff) | |
download | mtk-20170518-f0c80f03fc6ab142916e682e4e51d81564b83c61.zip mtk-20170518-f0c80f03fc6ab142916e682e4e51d81564b83c61.tar.gz mtk-20170518-f0c80f03fc6ab142916e682e4e51d81564b83c61.tar.bz2 |
update oleg's b44 patch to initialize switch access on driver load
SVN-Revision: 821
Diffstat (limited to 'openwrt/package')
-rw-r--r-- | openwrt/package/linux/kernel-patches/316-b44_mii_phy.patch | 12 |
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 ace58c9..524f7ed 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: |