sata_svw: 0x0241 has 8 ports not 4
PATCH 1/1 sata_svw: 0x0241 has 8 ports not 4
From: Yohei Honda <[email protected]>
0x0241 has 8 ports not 4.
Reported by Yohei Honda on kernel bz 10424.
---
Benjamin, can you please verify this is correct?
drivers/ata/sata_svw.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
drivers/ata/sata_svw.c +0 -0
@@ -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 },Quoted 10 lines · Tejun Heo
From: Yohei Honda <[email protected]>
0x0241has 8 ports not 4.Reported by Yohei Honda on kernel bz 10424.
Signed-off-by Tejun Heo <[email protected]>Cc Benjamin Herrenschmidt <[email protected]>---
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.
Quoted 16 lines
drivers/ata/sata_svw.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/ata/sata_svw.c +1
-1@@ -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 },
Quoted 12 lines · Benjamin Herrenschmidt
Quoted 10 lines · Tejun Heo
From: Yohei Honda <[email protected]>
0x0241has 8 ports not 4.Reported by Yohei Honda on kernel bz 10424.
Signed-off-by Tejun Heo <[email protected]>Cc Benjamin Herrenschmidt <[email protected]>---
Benjamin, can you please verify this is correct?
Quoted 5 lines
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
0x0241has 8, then feel free to apply the patch.
Hmmm.. Honda apparently has the hardware and this change works for him.
I think that should be good enough. Jeff, can you please merge this?
Thanks.
Signature · 1 line
tejun
Quoted 23 lines · Tejun Heo
From: Yohei Honda <[email protected]>
0x0241has 8 ports not 4.Reported by Yohei Honda on kernel bz 10424.
Signed-off-by Tejun Heo <[email protected]>Cc Benjamin Herrenschmidt <[email protected]>---
Benjamin, can you please verify this is correct?
drivers/ata/sata_svw.c| 2 +-1 file changed, 1 insertion(+), 1 deletion(-)drivers/ata/sata_svw.c +0
-0@@ -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 },
drivers/ata/sata_svw.c
Quoted 5 lines
drivers/ata/sata_svw.c +1
-1- { 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
Quoted 43 lines
-----Original Message-----
From: Jeff Garzik [mailto:[email protected]]
Sent: Friday, April 11, 2008 3:25 PM
To: Tejun Heo
Cc: IDE/ATA development list; [email protected]; Benjamin Herrenschmidt; Anantha Subramanyam
Subject: Re: [PATCH]sata_svw:0x0241has 8 ports not 4drivers/ata/sata_svw.c static int k2_sata_init_one(struct
Quoted 19 lines · Tejun Heo
From: Yohei Honda <[email protected]>
0x0241has 8 ports not 4.Reported by Yohei Honda on kernel bz 10424.
Signed-off-by Tejun Heo <[email protected]>Cc Benjamin Herrenschmidt <[email protected]>---
Benjamin, can you please verify this is correct?
drivers/ata/sata_svw.c| 2 +-1 file changed, 1 insertion(+), 1 deletion(-)drivers/ata/sata_svw.c +0
-0@@ -531,7 +531,7 @@ static int k2_sata_init_one(struct
pci_dev*pdev,drivers/ata/sata_svw.c
Quoted 9 lines
const struct
pci_device_id*en
* */static const struct pci_device_id k2_sata_pci_tbl[] = { { PCI_VDEVICE(SERVERWORKS, 0x0240), chip_svw4 },drivers/ata/sata_svw.c +1
-1- { 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.
Quoted 9 lines
Anantha, can you provide a definitive answer?
Does PCI ID
0x241support 4 ports or 8 ports?Thanks,
Jeff
0x241 is 8 ports0x242 is 4 ports
Thanks,
Ananth
Quoted 2 lines · Anantha Subramanyam
0x241is 8 ports0x242is 4 ports
Thanks!
Jeff