Hello,
this patch prints the secondary bus mode/frequency during amd8131 init process, maybe this can help users to configure PCI-X mode/frequency jumpers.
--- freebios2-20050305-0000-orig/src/southbridge/amd/amd8131/amd8131_bridge.c 2004-10-21 18:44:04.000000000 +0800 +++ freebios2-20050305-0000/src/southbridge/amd/amd8131/amd8131_bridge.c 2005-03-29 10:18:19.000000000 +0800 @@ -76,6 +76,28 @@ dword |= (1<<1); pci_write_config32(dev, 0xc8, dword); } + + /* Print Secondary Bus frequency */ + dword = pci_read_config32(dev, 0xa0); + dword = ((dword >> 22) & 0x7); + printk_debug("Secondary bus mode: "); + switch (dword) { + case 0: + printk_debug("Conventional PCI\n"); + break; + case 1: + printk_debug("66MHz PCI-X\n"); + break; + case 2: + printk_debug("100MHz PCI-X\n"); + break; + case 3: + printk_debug("133MHz PCI-X\n"); + break; + default: + printk_debug("Unknown\n"); + break; + } return; }