BUGFIX: UDMA-SiS5513 chipset support

From: Frank Neuber (frank.neuber@gmx.de)
Date: Sat Aug 18 2001 - 13:23:09 EST


Hi,
recently I did an upgrade of my old computer (ASUS SP97-V) to
the kernel-2.4.7.

Problem:
  My system was crashing even when I load the module ide-disk.o
Solution:
  Because of the broken hardware (some UDMA problems with an non
  UDMA-Cabel to the drive) the linux kernel hangs during ide_dma_check.
  Even if UDMA is disabeld in the bios, the kernel detect this drive as
  an udma drive. And this is wrong!!
  My solution was simply to comment out the ide_dma_check in ide.c.
  You can find this patch as attachment.

Frank

-- 
     _/_/_/_/ _//   _/ Frank Neuber
    _/       _/_/  _/  frank.neuber@gmx.de (private)
   _/_/_/   _/ _/ _/
  _/       _/  _/_/    neuber@opensource-systemberatung.de
 _/       _/    // http://www.opensource-systemberatung.de

--- ide.c Sat Aug 18 19:46:08 2001 +++ ide-sis.c Sat Aug 18 19:45:51 2001 @@ -3431,7 +3431,7 @@ * PARANOIA!!! */ (void) (HWIF(drive)->dmaproc(ide_dma_off_quietly, drive)); - (void) (HWIF(drive)->dmaproc(ide_dma_check, drive)); + //(void) (HWIF(drive)->dmaproc(ide_dma_check, drive)); } drive->dsc_overlap = (drive->next != drive && driver->supports_dsc_overlap); drive->nice1 = 1; - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Thu Aug 23 2001 - 21:00:28 EST