update oleg's b44 patch to initialize switch access on driver load
authorFelix Fietkau <nbd@openwrt.org>
Tue, 10 May 2005 14:33:14 +0000 (14:33 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Tue, 10 May 2005 14:33:14 +0000 (14:33 +0000)
SVN-Revision: 821

openwrt/package/linux/kernel-patches/316-b44_mii_phy.patch

index ace58c9631e4511e879fbd980fc59669d7b24ba0..524f7eda31431bde6102a82c4520c0af8c5e6d47 100644 (file)
                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: