mirror of
https://github.com/gnif/vendor-reset
synced 2025-02-22 23:46:52 +00: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;
|
||||
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);
|
||||
if (!priv)
|
||||
return -ENOMEM;
|
||||
|
Loading…
Reference in New Issue
Block a user