projects
/
GitHub
/
MotorolaMobilityLLC
/
kernel-slsi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ce9736d
)
pch_can: fix module reload issue with MSI
author
Tomoya
<tomoya-linux@dsn.okisemi.com>
Mon, 7 Feb 2011 23:29:03 +0000
(23:29 +0000)
committer
David S. Miller
<davem@davemloft.net>
Wed, 9 Feb 2011 00:37:20 +0000
(16:37 -0800)
Currently, in case reload pch_can,
pch_can not to be able to catch interrupt.
The cause is bus-master is not set in pch_can.
Thus, add enabling bus-master processing.
Signed-off-by: Tomoya MORINAGA <tomoya-linux@dsn.okisemi.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/can/pch_can.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/net/can/pch_can.c
b/drivers/net/can/pch_can.c
index 342d514c5e847d81955f23ff130e3d94f62b1944..7d8bc128044ca2f6409aa978e998cbbcb9a4b470 100644
(file)
--- a/
drivers/net/can/pch_can.c
+++ b/
drivers/net/can/pch_can.c
@@
-1238,6
+1238,7
@@
static int __devinit pch_can_probe(struct pci_dev *pdev,
priv->use_msi = 0;
} else {
netdev_err(ndev, "PCH CAN opened with MSI\n");
+ pci_set_master(pdev);
priv->use_msi = 1;
}