mirror of
https://github.com/gnif/vendor-reset.git
synced 2025-12-27 06:19:29 +01:00
AMD: disable bus resets.
This commit is contained in:
parent
2165913cef
commit
c21bcddd9e
@ -32,6 +32,9 @@ int amd_common_pre_reset(struct vendor_reset_dev *dev)
|
|||||||
struct pci_dev *pdev = dev->pdev;
|
struct pci_dev *pdev = dev->pdev;
|
||||||
int ret;
|
int ret;
|
||||||
|
|
||||||
|
/* disable bus reset for the card, seems to be an issue with all of em */
|
||||||
|
pdev->dev_flags |= PCI_DEV_FLAGS_NO_BUS_RESET;
|
||||||
|
|
||||||
priv = kzalloc(sizeof *priv, GFP_KERNEL);
|
priv = kzalloc(sizeof *priv, GFP_KERNEL);
|
||||||
if (!priv)
|
if (!priv)
|
||||||
return -ENOMEM;
|
return -ENOMEM;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user