Skip to content

Commit

Permalink
pch_can: fix module reload issue with MSI
Browse files Browse the repository at this point in the history
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 <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
  • Loading branch information
Tomoya authored and davem330 committed Feb 9, 2011
1 parent ce9736d commit c69b909
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/net/can/pch_can.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit c69b909

Please sign in to comment.