mirror of
https://github.com/edk2-porting/linux-next.git
synced 2025-01-22 12:33:59 +08:00
powerpc/eeh: Block CFG upon frozen Shiner adapter
The Broadcom Shiner 2-ports 10G ethernet adapter has same problem commit 6f20bda0 ("powerpc/eeh: Block PCI config access upon frozen PE") fixes. Put it to the black list as well. # lspci -s 0004:01:00.0 0004:01:00.0 Ethernet controller: Broadcom Corporation \ NetXtreme II BCM57810 10 Gigabit Ethernet (rev 10) # lspci -n -s 0004:01:00.0 0004:01:00.0 0200: 14e4:168e (rev 10) Reported-by: John Walthour <jwalthour@us.ibm.com> Signed-off-by: Gavin Shan <gwshan@linux.vnet.ibm.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
This commit is contained in:
parent
c59004cc83
commit
179ea48bc7
@ -182,9 +182,10 @@ static int powernv_eeh_dev_probe(struct pci_dev *dev, void *flag)
|
|||||||
* that PE to block its config space.
|
* that PE to block its config space.
|
||||||
*
|
*
|
||||||
* Broadcom Austin 4-ports NICs (14e4:1657)
|
* Broadcom Austin 4-ports NICs (14e4:1657)
|
||||||
|
* Broadcom Shiner 2-ports 10G NICs (14e4:168e)
|
||||||
*/
|
*/
|
||||||
if (dev->vendor == PCI_VENDOR_ID_BROADCOM &&
|
if ((dev->vendor == PCI_VENDOR_ID_BROADCOM && dev->device == 0x1657) ||
|
||||||
dev->device == 0x1657)
|
(dev->vendor == PCI_VENDOR_ID_BROADCOM && dev->device == 0x168e))
|
||||||
edev->pe->state |= EEH_PE_CFG_RESTRICTED;
|
edev->pe->state |= EEH_PE_CFG_RESTRICTED;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
Loading…
Reference in New Issue
Block a user