mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-14 15:54:15 +08:00
sis190: scheduling while atomic error
sis190_tx_timeout -> sis190_hw_start -> sis190_soft_reset -> msleep *splat* PCI transactions are correctly flushed here. The msleep() is probably useless. Signed-off-by: Francois Romieu <romieu@fr.zoreil.com> Cc: K.M. Liu <kmliu@sis.com.tw>
This commit is contained in:
parent
7bf3f232f7
commit
b334349eb4
@ -847,10 +847,8 @@ static void sis190_soft_reset(void __iomem *ioaddr)
|
||||
{
|
||||
SIS_W32(IntrControl, 0x8000);
|
||||
SIS_PCI_COMMIT();
|
||||
msleep(1);
|
||||
SIS_W32(IntrControl, 0x0);
|
||||
sis190_asic_down(ioaddr);
|
||||
msleep(1);
|
||||
}
|
||||
|
||||
static void sis190_hw_start(struct net_device *dev)
|
||||
|
Loading…
Reference in New Issue
Block a user