mirror of
https://github.com/openwrt/openwrt.git
synced 2025-01-25 21:59:32 +00:00
update oleg's b44 patch to initialize switch access on driver load
SVN-Revision: 821
This commit is contained in:
parent
f4eabdded9
commit
f0c80f03fc
@ -75,3 +75,15 @@
|
|||||||
spin_unlock_irq(&bp->lock);
|
spin_unlock_irq(&bp->lock);
|
||||||
|
|
||||||
return err;
|
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:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user