Linux MIPS Architecture development
 help / color / mirror / Atom feed
* Patch for ALI15x3 - Linux-MIPS kernel 2.4.22-rc3
@ 2003-11-12 18:43 Jack Miller
  2003-11-13  0:56 ` Alan Cox
  0 siblings, 1 reply; 6+ messages in thread
From: Jack Miller @ 2003-11-12 18:43 UTC (permalink / raw)
  To: Ralf Baechle; +Cc: Linux-MIPS

[-- Attachment #1: Type: text/plain, Size: 175 bytes --]

  Ralf,
    Please apply this patch for the file drivers/ide/pci/alim15x3.c.  It
fixes the LBA addressing mode for chip revisions <= 0xC4.  Thank-You.

  Regards,
    Jack




[-- Attachment #2: patch --]
[-- Type: text/plain, Size: 408 bytes --]

--- alim15x3.c.orig	2003-11-12 10:32:04.000000000 -0800
+++ alim15x3.c	2003-11-12 08:18:08.000000000 -0800
@@ -760,7 +760,7 @@
 	hwif->speedproc = &ali15x3_tune_chipset;
 
 	/* Don't use LBA48 on ALi devices before rev 0xC5 */
-	hwif->addressing = (m5229_revision <= 0xC4) ? 1 : 0;
+	hwif->addressing = (m5229_revision <= 0xC4) ? 0 : 1;
 
 	if (!hwif->dma_base) {
 		hwif->drives[0].autotune = 1;

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

end of thread, other threads:[~2003-11-13 22:41 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-11-12 18:43 Patch for ALI15x3 - Linux-MIPS kernel 2.4.22-rc3 Jack Miller
2003-11-13  0:56 ` Alan Cox
2003-11-13  1:13   ` Jack Miller
2003-11-13  8:59     ` Jan-Benedict Glaw
2003-11-13 17:49       ` Jack Miller
2003-11-13 22:37     ` Alan Cox

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox