diff options
author | Tomoya <tomoya-linux@dsn.okisemi.com> | 2011-02-07 23:29:03 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-02-08 16:37:20 -0800 |
commit | c69b90920a36b88ab0d649963d81355d865eeb05 (patch) | |
tree | 31fcd95927aff1c38bcbb86664f744eeb60f6a2a /drivers/net/can | |
parent | ce9736d4fb48beed370e22ac156779746dda7b92 (diff) |
pch_can: fix module reload issue with MSI
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>
Diffstat (limited to 'drivers/net/can')
-rw-r--r-- | drivers/net/can/pch_can.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/can/pch_can.c b/drivers/net/can/pch_can.c index 342d514c5e8..7d8bc128044 100644 --- 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; } |