The patch titled pci: use fixed-up device class when configuring device has been removed from the -mm tree. Its filename was pci-use-fixed-up-device-class-when-configuring-device.patch This patch was dropped because it was merged into mainline or a subsystem tree The current -mm tree may be found at http://userweb.kernel.org/~akpm/mmotm/ ------------------------------------------------------ Subject: pci: use fixed-up device class when configuring device From: Yu Zhao <yu.zhao@xxxxxxxxx> The device class may be changed after the early fixup. Need to re-read the class value from pci_dev when configuring the device. Otherwise some devices such as JMicron SATA controller won't work. Tested-by: Marc Dionne <marc.c.dionne@xxxxxxxxx> Signed-off-by: Yu Zhao <yu.zhao@xxxxxxxxx> Reviewed-by: Grant Grundler <grundler@xxxxxxxxxxxxxxxx> Cc: Jeff Garzik <jeff@xxxxxxxxxx> Cc: Tejun Heo <htejun@xxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- drivers/pci/probe.c | 2 ++ 1 file changed, 2 insertions(+) diff -puN drivers/pci/probe.c~pci-use-fixed-up-device-class-when-configuring-device drivers/pci/probe.c --- a/drivers/pci/probe.c~pci-use-fixed-up-device-class-when-configuring-device +++ a/drivers/pci/probe.c @@ -750,6 +750,8 @@ int pci_setup_device(struct pci_dev *dev /* Early fixups, before probing the BARs */ pci_fixup_device(pci_fixup_early, dev); + /* device class may be changed after fixup */ + class = dev->class >> 8; switch (dev->hdr_type) { /* header type */ case PCI_HEADER_TYPE_NORMAL: /* standard header */ _ Patches currently in -mm which might be from yu.zhao@xxxxxxxxx are linux-next.patch -- To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html