linux-ide.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] alim15x3: add Mitac 8317 and derivatives to ali_cable_override()
@ 2007-11-22 21:56 Bartlomiej Zolnierkiewicz
  2007-11-23 12:09 ` Sergei Shtylyov
  0 siblings, 1 reply; 2+ messages in thread
From: Bartlomiej Zolnierkiewicz @ 2007-11-22 21:56 UTC (permalink / raw)
  To: linux-ide; +Cc: Alan Cox


Port of Alan's patch for pata_ali.c.

Cc: Alan Cox <alan@redhat.com>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
---
 drivers/ide/pci/alim15x3.c |    5 +++++
 1 file changed, 5 insertions(+)

Index: b/drivers/ide/pci/alim15x3.c
===================================================================
--- a/drivers/ide/pci/alim15x3.c
+++ b/drivers/ide/pci/alim15x3.c
@@ -603,6 +603,11 @@ static int ali_cable_override(struct pci
 	    pdev->subsystem_device == 0x10AF)
 		return 1;
 
+	/* Mitac 8317 (Winbook-A) and relatives */
+	if (pdev->subsystem_vendor == 0x1071 &&
+	    pdev->subsystem_device == 0x8317)
+		return 1;
+
 	/* Systems by DMI */
 	if (dmi_check_system(cable_dmi_table))
 		return 1;

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

* Re: [PATCH] alim15x3: add Mitac 8317 and derivatives to ali_cable_override()
  2007-11-22 21:56 [PATCH] alim15x3: add Mitac 8317 and derivatives to ali_cable_override() Bartlomiej Zolnierkiewicz
@ 2007-11-23 12:09 ` Sergei Shtylyov
  0 siblings, 0 replies; 2+ messages in thread
From: Sergei Shtylyov @ 2007-11-23 12:09 UTC (permalink / raw)
  To: Bartlomiej Zolnierkiewicz; +Cc: linux-ide, Alan Cox

Bartlomiej Zolnierkiewicz wrote:

> Port of Alan's patch for pata_ali.c.

> Cc: Alan Cox <alan@redhat.com>
> Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>

Acked-by: Sergei Shtylyov <sshtylyov@ru.mvista.com>

MBR, Sergei


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

end of thread, other threads:[~2007-11-23 12:09 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-11-22 21:56 [PATCH] alim15x3: add Mitac 8317 and derivatives to ali_cable_override() Bartlomiej Zolnierkiewicz
2007-11-23 12:09 ` Sergei Shtylyov

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