Patchwork Message

login
register
mail settings
Submitter Tejun Heo
Date Nov. 27, 2010, 10:25 a.m.
Message ID <4CF0DC95.2050501@gmail.com>
Download mbox | patch
Permalink /patch/73271/
State Not Applicable
Delegated to: David Miller
Headers show

Comments

Tejun Heo - Nov. 27, 2010, 10:25 a.m.
On 11/26/2010 07:59 PM, Alessandro Tagliapietra wrote:
> 2010/11/26 Tejun Heo <htejun@gmail.com>:
>> Can you please just attach them?
> 
> 
> Sure, here are the files. The file "dmesg" is done via fedora with
> kernel 2.6.35.6-45.fc14.x86_64.
> 
> Also, as aked, the lspci -nn.

So, it's a different controller.  1b4b:91a3 instead of 1b4b:9123.
Hmm... why did they switch vendor id from 11ab?  I currently don't
have access to the datasheets but does the following blind patch work
by any chance?
Alessandro Tagliapietra - Nov. 29, 2010, 10:39 a.m.
2010/11/27 Tejun Heo <htejun@gmail.com>:
> So, it's a different controller.  1b4b:91a3 instead of 1b4b:9123.
> Hmm... why did they switch vendor id from 11ab?  I currently don't
> have access to the datasheets but does the following blind patch work
> by any chance?
>
> diff --git a/drivers/ata/ahci.c b/drivers/ata/ahci.c
> index 3288263..0c39fbb 100644
> --- a/drivers/ata/ahci.c
> +++ b/drivers/ata/ahci.c
> @@ -380,6 +380,8 @@ static const struct pci_device_id ahci_pci_tbl[] = {
>        { PCI_VDEVICE(MARVELL, 0x6121), board_ahci_mv },        /* 6121 */
>        { PCI_DEVICE(0x1b4b, 0x9123),
>          .driver_data = board_ahci_yes_fbs },                  /* 88se9128 */
> +       { PCI_DEVICE(0x1b4b, 0x91a3),
> +         .driver_data = board_ahci_yes_fbs },
>
>        /* Promise */
>        { PCI_VDEVICE(PROMISE, 0x3f20), board_ahci },   /* PDC42819 */
>
> --
> tejun


Yeah it works fine. I've patched and compiled both 2.6.37-rc3 and 2.6.36.1.
I can see the hdd and use them.
When this patch is applied to the kernel?
So i can use it on daily natty build instead of changing the livecd
that's quite hard for me.

Best Regards and thanks for help

Alessandro
--
To unsubscribe from this list: send the line "unsubscribe linux-ide" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Patch

diff --git a/drivers/ata/ahci.c b/drivers/ata/ahci.c
index 3288263..0c39fbb 100644
--- a/drivers/ata/ahci.c
+++ b/drivers/ata/ahci.c
@@ -380,6 +380,8 @@  static const struct pci_device_id ahci_pci_tbl[] = {
 	{ PCI_VDEVICE(MARVELL, 0x6121), board_ahci_mv },	/* 6121 */
 	{ PCI_DEVICE(0x1b4b, 0x9123),
 	  .driver_data = board_ahci_yes_fbs },			/* 88se9128 */
+	{ PCI_DEVICE(0x1b4b, 0x91a3),
+	  .driver_data = board_ahci_yes_fbs },

 	/* Promise */
 	{ PCI_VDEVICE(PROMISE, 0x3f20), board_ahci },	/* PDC42819 */