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

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

 



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?

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 },

This is wrong according to my docs.

Anantha, can you provide a definitive answer?

Does PCI ID 0x241 support 4 ports or 8 ports?

Thanks,

	Jeff



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