Skip to contentSkip to conversation

SATA DVD Writer on SiI 3114 controller

PATCH In review Fred Emmott 2 participants 2 messages Dec 23, 2004

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 SATA DVD Writer on SiI 3114 controller

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.

include/linux/pci_ids_h:

923a924

Quoted 1 line

#define PCI_DEVICE_ID_SII_3114 0x3114

drivers/ide/pci/siimage.c:

48a49

Quoted 1 line
              case PCI_DEVICE_ID_SII_3114:

1109c1110,1111
< /* 2 */ DECLARE_SII_DEV("Adaptec AAR-1210SA")
---

Quoted 2 lines
      /* 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},
---

Quoted 1 line
      { PCI_VENDOR_ID_CMD, PCI_DEVICE_ID_SII_3114, PCI_ANY_ID, PCI_ANY_ID, 

0,0, 2},

Quoted 1 line
      { PCI_VENDOR_ID_CMD, PCI_DEVICE_ID_SII_1210SA, PCI_ANY_ID, PCI_ANY_ID, 

0, 0, 3},

Signature · 2 lines
Fred Emmott
(http://www.fredemmott.co.uk)
#1 lore raw
Quoted 4 lines · Fred Emmott

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. ]

Quoted 14 lines

include/linux/pci_ids_h:

923a924

Quoted 1 line

#define PCI_DEVICE_ID_SII_3114 0x3114

drivers/ide/pci/siimage.c:

48a49

Quoted 1 line
              case PCI_DEVICE_ID_SII_3114:

1109c1110,1111
< /* 2 */ DECLARE_SII_DEV("Adaptec AAR-1210SA")
---

Quoted 2 lines
      /* 2 */ DECLARE_SII_DEV("SiI3114 Serial ATA"),
      /* 3 */ DECLARE_SII_DEV("Adaptec AAR-1210SA")
Quoted 8 lines

1131c1133,1134
< { PCI_VENDOR_ID_CMD, PCI_DEVICE_ID_SII_1210SA, PCI_ANY_ID, PCI_ANY_ID,
0, 0, 2},
---

Quoted 1 line
      { PCI_VENDOR_ID_CMD, PCI_DEVICE_ID_SII_3114, PCI_ANY_ID, PCI_ANY_ID,

0,0, 2},

Quoted 1 line
      { 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