mirror of https://gitee.com/openkylin/linux.git
[PATCH] bcm43xx: enable SPROM writing.
Signed-off-by: Michael Buesch <mbuesch@freenet.de> Signed-off-by: John W. Linville <linville@tuxdriver.com>
This commit is contained in:
parent
393344f67b
commit
62b7f0dfab
|
@ -976,7 +976,7 @@ static int bcm43xx_wx_sprom_write(struct net_device *net_dev,
|
|||
printk("75%%");
|
||||
else if (i % 2)
|
||||
printk(".");
|
||||
//TODO bcm43xx_write16(bcm, BCM43xx_SPROM_BASE + (i * 2), sprom[i]);
|
||||
bcm43xx_write16(bcm, BCM43xx_SPROM_BASE + (i * 2), sprom[i]);
|
||||
mdelay(20);
|
||||
}
|
||||
spromctl &= ~0x10; /* SPROM WRITE enable. */
|
||||
|
|
Loading…
Reference in New Issue