From: Csaba Henk Date: Tue, 15 Dec 2009 12:25:25 +0000 (+0530) Subject: PCI: Handle case when no pci device can provide cache line size hint X-Git-Tag: v2.6.33-rc3~36^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2820f333e3b4ad96590093efbed7b3400bcf492b;p=pandora-kernel.git PCI: Handle case when no pci device can provide cache line size hint Prior to this patch, if pci_read_config_byte(dev, PCI_CACHE_LINE_SIZE, ...) returns 0 for all dev, pci_cache_line_size ends up set to zero (instead of pci_dfl_cache_line_size). This patch ensures the pci_cache_line_size = pci_dfl_cache_line_size setting in the above scenario. This happens in case of a kvm-88 guest (where, consequently, the rtl8139 NIC failed to initialize). Acked-by: Tejun Heo Signed-off-by: Csaba Henk Signed-off-by: Jesse Barnes --- Reading git-diff-tree failed