printk_foo -> printk(BIOS_FOO, ...)
[coreboot.git] / src / southbridge / sis / sis966 / sis966_sata.c
index 4195688de913e0af2548ef6b7444a6d4f87bc69e..7fcee82f29eb2027d328170a4db4e45c1608945b 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * This file is part of the LinuxBIOS project.
+ * This file is part of the coreboot project.
  *
  * Copyright (C) 2004 Tyan Computer
  * Written by Yinghai Lu <yhlu@tyan.com> for Tyan Computer.
@@ -141,7 +141,7 @@ for (i=0;i<10;i++){
    temp32=0;
    temp32= pci_read_config32(dev, 0xC0);
    for ( j=0;j<0xFFFF;j++);
-   printk_debug("status= %x\n",temp32);
+   printk(BIOS_DEBUG, "status= %x\n",temp32);
    if (((temp32&0xF) == 0x3) || ((temp32&0xF) == 0x0)) break;
 }
 
@@ -193,5 +193,5 @@ static struct device_operations sata_ops = {
 static const struct pci_driver sata0_driver __pci_driver = {
        .ops    = &sata_ops,
        .vendor = PCI_VENDOR_ID_SIS,
-       .device = PCI_DEVICE_ID_SIS_SIS966_SATA0,
+       .device = PCI_DEVICE_ID_SIS_SIS966_SATA,
 };