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 | 61bd297bf08f8563e0ffcf7c980bbeea9a574a66 (patch) | |
tree | 586bc1f4480ca3e6bdc1860ebe8ec344dabb1229 | |
parent | 4758267fdc1edefabfca26dba55eb2f4be7087af (diff) | |
download | upstream-61bd297bf08f8563e0ffcf7c980bbeea9a574a66.tar.gz upstream-61bd297bf08f8563e0ffcf7c980bbeea9a574a66.tar.bz2 upstream-61bd297bf08f8563e0ffcf7c980bbeea9a574a66.zip |
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
-rw-r--r-- | package/linux/kernel-patches/316-b44_mii_phy.patch | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/package/linux/kernel-patches/316-b44_mii_phy.patch b/package/linux/kernel-patches/316-b44_mii_phy.patch index ace58c9631..524f7eda31 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: |