--- linux/drivers/scsi/sata_sx4.c.orig 2005-08-20 00:53:48.000000000 +0100 +++ linux/drivers/scsi/sata_sx4.c 2005-08-20 01:12:40.000000000 +0100 @@ -79,6 +79,7 @@ enum { (1<<23), board_20621 = 0, /* FastTrak S150 SX4 */ + board_20621_pata = 1, /* FastTrak S150 SX4060 */ PDC_RESET = (1 << 11), /* HDMA reset */ @@ -221,9 +222,21 @@ static struct ata_port_info pdc_port_inf .port_ops = &pdc_20621_ops, }, + /* board_20621_pata */ + { + .sht = &pdc_sata_sht, + .host_flags = ATA_FLAG_NO_LEGACY | ATA_FLAG_SRST | + ATA_FLAG_MMIO | ATA_FLAG_SLAVE_POSS, + .pio_mask = 0x1f, /* pio0-4 */ + .mwdma_mask = 0x07, /* mwdma0-2 */ + .udma_mask = 0x7f, /* udma0-6 ; FIXME */ + .port_ops = &pdc_20621_ops, + }, }; static struct pci_device_id pdc_sata_pci_tbl[] = { + { PCI_VENDOR_ID_PROMISE, 0x6621, PCI_ANY_ID, PCI_ANY_ID, 0, 0, + board_20621_pata }, { PCI_VENDOR_ID_PROMISE, 0x6622, PCI_ANY_ID, PCI_ANY_ID, 0, 0, board_20621 }, { } /* terminate list */