mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-12-26 17:42:25 +02:00
update oleg's b44 patch to initialize switch access on driver load
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@821 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
16d8463a7b
commit
c8fcc5a6e3
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user