Patch for ALI15x3 - Linux-MIPS kernel 2.4.22-rc3

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

 



  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



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

[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux