linux-ide.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] pata_sis: Remove bogus cable match
@ 2008-12-05 19:41 Alan Cox
  2008-12-05 20:31 ` Jeff Garzik
  2008-12-09  5:48 ` Jeff Garzik
  0 siblings, 2 replies; 6+ messages in thread
From: Alan Cox @ 2008-12-05 19:41 UTC (permalink / raw)
  To: kai, linux-ide, jeff

From: Alan Cox <alan@redhat.com>

Some systems report SIS 5513 as both vendor/id and subvendor/id string. In
that case we can't distinguish the system by the id svid/sdid and in fact
the entry here breaks some boxes. At some point we need to find another way
to detect the Targa Visionary 1000, until then this a hang for some users with
lower performance for others.

Closes: #12092

Signed-off-by: Alan Cox <alan@redhat.com>
---

 drivers/ata/pata_sis.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)


diff --git a/drivers/ata/pata_sis.c b/drivers/ata/pata_sis.c
index d342366..e4be55e 100644
--- a/drivers/ata/pata_sis.c
+++ b/drivers/ata/pata_sis.c
@@ -56,7 +56,6 @@ static const struct sis_laptop sis_laptop[] = {
 	{ 0x5513, 0x1043, 0x1107 },	/* ASUS A6K */
 	{ 0x5513, 0x1734, 0x105F },	/* FSC Amilo A1630 */
 	{ 0x5513, 0x1071, 0x8640 },     /* EasyNote K5305 */
-	{ 0x5513, 0x1039, 0x5513 },	/* Targa Visionary 1000 */
 	/* end marker */
 	{ 0, }
 };


^ permalink raw reply related	[flat|nested] 6+ messages in thread

* Re: [PATCH] pata_sis: Remove bogus cable match
  2008-12-05 19:41 [PATCH] pata_sis: Remove bogus cable match Alan Cox
@ 2008-12-05 20:31 ` Jeff Garzik
  2008-12-06  0:27   ` Alan Cox
  2008-12-09  5:48 ` Jeff Garzik
  1 sibling, 1 reply; 6+ messages in thread
From: Jeff Garzik @ 2008-12-05 20:31 UTC (permalink / raw)
  To: Alan Cox; +Cc: kai, linux-ide

Alan Cox wrote:
> From: Alan Cox <alan@redhat.com>
> 
> Some systems report SIS 5513 as both vendor/id and subvendor/id string. In
> that case we can't distinguish the system by the id svid/sdid and in fact
> the entry here breaks some boxes. At some point we need to find another way
> to detect the Targa Visionary 1000, until then this a hang for some users with
> lower performance for others.
> 
> Closes: #12092
> 
> Signed-off-by: Alan Cox <alan@redhat.com>

Should that last sentence be "this SOLVES a hang"?

As it is currently worded, it is unclear what we are trading off with 
this patch...

Thanks,

	Jeff





^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH] pata_sis: Remove bogus cable match
  2008-12-05 20:31 ` Jeff Garzik
@ 2008-12-06  0:27   ` Alan Cox
  2008-12-08 11:13     ` Kai Krakow
  0 siblings, 1 reply; 6+ messages in thread
From: Alan Cox @ 2008-12-06  0:27 UTC (permalink / raw)
  To: Jeff Garzik; +Cc: kai, linux-ide

On Fri, 05 Dec 2008 15:31:40 -0500
Jeff Garzik <jeff@garzik.org> wrote:

> Alan Cox wrote:
> > From: Alan Cox <alan@redhat.com>
> > 
> > Some systems report SIS 5513 as both vendor/id and subvendor/id string. In
> > that case we can't distinguish the system by the id svid/sdid and in fact
> > the entry here breaks some boxes. At some point we need to find another way
> > to detect the Targa Visionary 1000, until then this a hang for some users with
> > lower performance for others.
> > 
> > Closes: #12092
> > 
> > Signed-off-by: Alan Cox <alan@redhat.com>
> 
> Should that last sentence be "this SOLVES a hang"?
> 
> As it is currently worded, it is unclear what we are trading off with 
> this patch...

I missed out the word "trades" ...


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH] pata_sis: Remove bogus cable match
  2008-12-06  0:27   ` Alan Cox
@ 2008-12-08 11:13     ` Kai Krakow
  2008-12-08 11:39       ` Alan Cox
  0 siblings, 1 reply; 6+ messages in thread
From: Kai Krakow @ 2008-12-08 11:13 UTC (permalink / raw)
  To: Alan Cox; +Cc: Jeff Garzik, linux-ide

Am Samstag, 06. Dezember 2008 schrieb Alan Cox:

> On Fri, 05 Dec 2008 15:31:40 -0500
>
> Jeff Garzik <jeff@garzik.org> wrote:
> > Alan Cox wrote:
> > > From: Alan Cox <alan@redhat.com>
> > >
> > > Some systems report SIS 5513 as both vendor/id and subvendor/id string.
> > > In that case we can't distinguish the system by the id svid/sdid and in
> > > fact the entry here breaks some boxes. At some point we need to find
> > > another way to detect the Targa Visionary 1000, until then this a hang
> > > for some users with lower performance for others.
> > >
> > > Closes: #12092
> > >
> > > Signed-off-by: Alan Cox <alan@redhat.com>
> >
> > Should that last sentence be "this SOLVES a hang"?
> >
> > As it is currently worded, it is unclear what we are trading off with
> > this patch...
>
> I missed out the word "trades" ...

Is there away to bypass this bogus-detection and force the driver into using 
high-speed mode on the short 40-wire cable? Maybe by introducing a 
kernel/module parameter? Or is it there? I found nothing in the docs.

Can I provide any information you need to properly detect the Targa Visionary 
1000?

Thanks,
Kai

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH] pata_sis: Remove bogus cable match
  2008-12-08 11:13     ` Kai Krakow
@ 2008-12-08 11:39       ` Alan Cox
  0 siblings, 0 replies; 6+ messages in thread
From: Alan Cox @ 2008-12-08 11:39 UTC (permalink / raw)
  To: Kai Krakow; +Cc: Jeff Garzik, linux-ide

> Is there away to bypass this bogus-detection and force the driver into using 
> high-speed mode on the short 40-wire cable? Maybe by introducing a 
> kernel/module parameter? Or is it there? I found nothing in the docs.
> 
> Can I provide any information you need to properly detect the Targa Visionary 
> 1000?

Thats why I cc'd you on the changes. I am sure we can find something to
identify this machine.

Can you send the output of dmidecode ?

Alan

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH] pata_sis: Remove bogus cable match
  2008-12-05 19:41 [PATCH] pata_sis: Remove bogus cable match Alan Cox
  2008-12-05 20:31 ` Jeff Garzik
@ 2008-12-09  5:48 ` Jeff Garzik
  1 sibling, 0 replies; 6+ messages in thread
From: Jeff Garzik @ 2008-12-09  5:48 UTC (permalink / raw)
  To: Alan Cox; +Cc: kai, linux-ide

Alan Cox wrote:
> From: Alan Cox <alan@redhat.com>
> 
> Some systems report SIS 5513 as both vendor/id and subvendor/id string. In
> that case we can't distinguish the system by the id svid/sdid and in fact
> the entry here breaks some boxes. At some point we need to find another way
> to detect the Targa Visionary 1000, until then this a hang for some users with
> lower performance for others.
> 
> Closes: #12092
> 
> Signed-off-by: Alan Cox <alan@redhat.com>
> ---
> 
>  drivers/ata/pata_sis.c |    1 -
>  1 files changed, 0 insertions(+), 1 deletions(-)
> 
> 
> diff --git a/drivers/ata/pata_sis.c b/drivers/ata/pata_sis.c
> index d342366..e4be55e 100644
> --- a/drivers/ata/pata_sis.c
> +++ b/drivers/ata/pata_sis.c
> @@ -56,7 +56,6 @@ static const struct sis_laptop sis_laptop[] = {
>  	{ 0x5513, 0x1043, 0x1107 },	/* ASUS A6K */
>  	{ 0x5513, 0x1734, 0x105F },	/* FSC Amilo A1630 */
>  	{ 0x5513, 0x1071, 0x8640 },     /* EasyNote K5305 */
> -	{ 0x5513, 0x1039, 0x5513 },	/* Targa Visionary 1000 */
>  	/* end marker */

applied #upstream-fixes



^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2008-12-09  5:48 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-12-05 19:41 [PATCH] pata_sis: Remove bogus cable match Alan Cox
2008-12-05 20:31 ` Jeff Garzik
2008-12-06  0:27   ` Alan Cox
2008-12-08 11:13     ` Kai Krakow
2008-12-08 11:39       ` Alan Cox
2008-12-09  5:48 ` Jeff Garzik

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).