recognise new southbridge and new pentium IV xeon cpu. Reference: /n/sources/patch/applied/boot-pc-p4 Date: Sat Oct 16 06:11:39 CES 2004 --- /sys/src/boot/pc/pci.c Sat Oct 16 06:11:39 2004 +++ /sys/src/boot/pc/pci.c Sat Oct 16 06:11:39 2004 @@ -306,6 +306,7 @@ Intel_82801AB_0 = 0x2420, Intel_82801BA_0 = 0x2440, Intel_82801BAM_0 = 0x244c, + Intel_82801ICH5R_0 = 0x24d0, /* part # is a guess */ Viatech = 0x1106, Via_82C586_0 = 0x0586, Via_82C596 = 0x0596, @@ -337,6 +338,7 @@ { Intel, Intel_82801AB_0, pIIx_link, pIIx_init }, { Intel, Intel_82801BA_0, pIIx_link, pIIx_init }, { Intel, Intel_82801BAM_0, pIIx_link, pIIx_init }, +{ Intel, Intel_82801ICH5R_0, pIIx_link, pIIx_init }, { Viatech, Via_82C586_0, via_link, via_init }, { Viatech, Via_82C596, via_link, via_init }, { Viatech, Via_82C686, via_link, via_init }, --- /sys/src/boot/pc/clock.c Sat Oct 16 06:11:39 2004 +++ /sys/src/boot/pc/clock.c Sat Oct 16 06:11:39 2004 @@ -83,6 +83,7 @@ { 6, 8, 16, "PentiumIII/Xeon", }, { 6, 0xB, 16, "PentiumIII/Xeon", }, { 0xF, 1, 16, "P4", }, /* P4 */ + { 0xF, 2, 16, "PentiumIV/Xeon", }, { 3, -1, 32, "386", }, /* family defaults */ { 4, -1, 22, "486", }, @@ -168,6 +169,9 @@ t = x86intel; family = X86FAMILY(cpuidax); model = X86MODEL(cpuidax); + if (0) + print("cpuidentify: cpuidax 0x%ux cpuiddx 0x%ux\n", + cpuidax, cpuiddx); while(t->name){ if((t->family == family && t->model == model) || (t->family == family && t->model == -1) @@ -266,6 +270,6 @@ * add in possible .2% error and convert to MHz */ cpumhz = (cpufreq + cpufreq/500)/1000000; -// print("%dMHz %s loop %d\n", cpumhz, t->name, loopconst); + if (0) + print("%dMHz %s loop %d\n", cpumhz, t->name, loopconst); } -