Re: [PATCH] PCI hotplug: shpchp: don't blindly claim non-AMD 0x7450 device IDs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

Bjorn Helgaas wrote:

> [Subject: [PATCH] PCI hotplug: shpchp: don't blindly claim non-AMD 0x7450 device IDs]

To users, the more noticeable impact will be that this doesn't claim
all pci-pci bridges with AMD vendor ID any more either, right?

> Previously we claimed device ID 0x7450, regardless of the vendor, which is
> clearly wrong.  Now we'll claim that device ID only for AMD.
[...]
> -	if ((dev->vendor == PCI_VENDOR_ID_AMD) || (dev->device ==
> -						PCI_DEVICE_ID_AMD_GOLAM_7450))
> +	if (dev->vendor == PCI_VENDOR_ID_AMD &&
> +	    dev->device == PCI_DEVICE_ID_AMD_GOLAM_7450)

Makes sense and obviously good.  Thanks for writing it.
--
To unsubscribe from this list: send the line "unsubscribe linux-pci" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [DMA Engine]     [Linux Coverity]     [Linux USB]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Greybus]

  Powered by Linux