Subversion Repositories shark

Compare Revisions

Ignore whitespace Rev 436 → Rev 437

/shark/trunk/drivers/newpci/common.c
139,7 → 139,6
 
static int __init pcibios_init(void)
{
struct cpuinfo_x86 *c = &boot_cpu_data;
 
if (!raw_pci_ops) {
printk("PCI: System does not support PCI\n");
152,10 → 151,6
* as quite a few PCI devices do not support smaller values.
*/
pci_cache_line_size = 32 >> 2;
if (c->x86 >= 6 && c->x86_vendor == X86_VENDOR_AMD)
pci_cache_line_size = 64 >> 2; /* K7 & K8 */
else if (c->x86 > 6 && c->x86_vendor == X86_VENDOR_INTEL)
pci_cache_line_size = 128 >> 2; /* P4 */
 
pcibios_resource_survey();