printk_foo -> printk(BIOS_FOO, ...)
[coreboot.git] / src / mainboard / msi / ms7135 / mptable.c
index 97b3db1efd3eec4813a79365bd51247d3b9fc9fd..874b54b322ccc0b8c6200cb82a0bf6f3c8d0631e 100644 (file)
@@ -163,6 +163,10 @@ void *smp_write_config_table(void *v)
        PCI_INT(0, sbdn+10, 0, 22);
 
 
+       /* "AGR" slot */
+       PCI_INT(1, 0, 0, 16);
+       PCI_INT(1, 0, 1, 17);
+
        /* legacy PCI */
        PCI_INT(1, 7, 0, 17);
        PCI_INT(1, 7, 1, 18);
@@ -184,8 +188,8 @@ void *smp_write_config_table(void *v)
        PCI_INT(2, 0, 0, 19);
        /* XXX guesses */
        PCI_INT(2, 0, 1, 16);
-       PCI_INT(2, 9, 2, 17);
-       PCI_INT(2, 9, 3, 18);
+       PCI_INT(2, 0, 2, 17);
+       PCI_INT(2, 0, 3, 18);
 
        /* PCI-E x16 port */  /* XXX fix me ? */
        PCI_INT(3, 0, 0, 18);
@@ -208,7 +212,7 @@ void *smp_write_config_table(void *v)
        mc->mpe_checksum =
            smp_compute_checksum(smp_next_mpc_entry(mc), mc->mpe_length);
        mc->mpc_checksum = smp_compute_checksum(mc, mc->mpc_length);
-       printk_debug("Wrote the mp table end at: %p - %p\n",
+       printk(BIOS_DEBUG, "Wrote the mp table end at: %p - %p\n",
                     mc, smp_next_mpe_entry(mc));
        return smp_next_mpe_entry(mc);
 }