/*
- * 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.
static void sata_init(struct device *dev)
{
- uint32_t dword;
struct southbridge_sis_sis966_config *conf;
-struct resource *res;
-uint16_t base;
-uint8_t temp8;
conf = dev->chip_info;
print_debug("SATA_INIT:---------->\n");
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;
}
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,
};