Re: [PATCH] SATA DVD Writer on SiI 3114 controller

From: Bartlomiej Zolnierkiewicz
Date: Thu Dec 23 2004 - 12:31:16 EST


On Thu, 23 Dec 2004 15:48:30 +0000, Fred Emmott <mail@xxxxxxxxxxxxxxxx> wrote:
> The sata-sil driver supports the controller, however it doesn't support ATAPI
> devices. Here's patches for the siimage controller (needs sata support in ide
> config enabled) to use this controller with the siimage module and atapi
> devices, against 2.6.9.

Have you tried some recent kernel (say 2.6.10-rc3) with sata_sil
and ATA_ENABLE_ATAPI defined in <linux/libata.h>?

[ ATAPI support was added to libata driver in 2.6.10-rc1. ]

> include/linux/pci_ids_h:
>
> 923a924
> > #define PCI_DEVICE_ID_SII_3114 0x3114
>
> drivers/ide/pci/siimage.c:
>
> 48a49
> > case PCI_DEVICE_ID_SII_3114:
> 1109c1110,1111
> < /* 2 */ DECLARE_SII_DEV("Adaptec AAR-1210SA")
> ---
> > /* 2 */ DECLARE_SII_DEV("SiI3114 Serial ATA"),
> > /* 3 */ DECLARE_SII_DEV("Adaptec AAR-1210SA")
> 1131c1133,1134
> < { PCI_VENDOR_ID_CMD, PCI_DEVICE_ID_SII_1210SA, PCI_ANY_ID, PCI_ANY_ID,
> 0, 0, 2},
> ---
> > { PCI_VENDOR_ID_CMD, PCI_DEVICE_ID_SII_3114, PCI_ANY_ID, PCI_ANY_ID,
> 0,0, 2},
> > { PCI_VENDOR_ID_CMD, PCI_DEVICE_ID_SII_1210SA, PCI_ANY_ID, PCI_ANY_ID,
> 0, 0, 3},

Please send unified diffs ('-u' option).

Bartlomiej
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/