Re: [PATCH] sata_svw: 0x0241 has 8 ports not 4

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 2008-04-10 at 09:55 +0900, Tejun Heo wrote:
> From: Yohei Honda <y_honda_@xxxxxxxxxxxxx>
> 
> 0x0241 has 8 ports not 4.
> 
> Reported by Yohei Honda on kernel bz 10424.
>
> Signed-off-by: Tejun Heo <htejun@xxxxxxxxx>
> Cc: Benjamin Herrenschmidt <benh@xxxxxxxxxxxxxxxxxxx>
> ---
> Benjamin, can you please verify this is correct?

I can't as I don't have any spec for these... All I can say is that the
Apple one has 4 ports and is is 0x0240.

So If you are reasonably confident the 0x0241 has 8, then feel free to
apply the patch.

Cheers,
Ben.

>  drivers/ata/sata_svw.c |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/ata/sata_svw.c b/drivers/ata/sata_svw.c
> index 840d1c4..75c6853 100644
> --- a/drivers/ata/sata_svw.c
> +++ b/drivers/ata/sata_svw.c
> @@ -531,7 +531,7 @@ static int k2_sata_init_one(struct pci_dev *pdev, const struct pci_device_id *en
>   * */
>  static const struct pci_device_id k2_sata_pci_tbl[] = {
>  	{ PCI_VDEVICE(SERVERWORKS, 0x0240), chip_svw4 },
> -	{ PCI_VDEVICE(SERVERWORKS, 0x0241), chip_svw4 },
> +	{ PCI_VDEVICE(SERVERWORKS, 0x0241), chip_svw8 },
>  	{ PCI_VDEVICE(SERVERWORKS, 0x0242), chip_svw8 },
>  	{ PCI_VDEVICE(SERVERWORKS, 0x024a), chip_svw4 },
>  	{ PCI_VDEVICE(SERVERWORKS, 0x024b), chip_svw4 },

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

[Index of Archives]     [Linux Filesystems]     [Linux SCSI]     [Linux RAID]     [Git]     [Kernel Newbies]     [Linux Newbie]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Samba]     [Device Mapper]

  Powered by Linux