Re: ATA linux-2.2.16 patch

From: Andrzej Krzysztofowicz (ankry@pg.gda.pl)
Date: Thu Jun 08 2000 - 10:35:46 EST


> While waiting for official ide-2.2.16 you may try:
>
> http://republika.pl/bkz/ide.2.2.16.patch.bz2
>
> It is ide.2.2.16-pre8.patch
> + included patch by Andrzej Krzysztofowicz porting it to 2.2.16
> + very minor cleanups in ht6560b.c
> + corrected comment to ide_system_bus_speed() in ide.c

Just an effect of testing to be included in next ide-patch releases...

This patch is backport of my 2.3.99pre ide fix for non-PCI secondary,
tertiary, etc. IDE channels to work with Andre's patch.
Otherwise you will see:

ide1: ports already in use, skipping probe
ide2: ports already in use, skipping probe
... etc.

It is against 2.2.15 + Bartlomiej's patch.

Regards
   Andrzej.
*********************************************************************
--- linux/include/asm-i386/ide.h.old Thu Jun 8 16:12:05 2000
+++ linux/include/asm-i386/ide.h Thu Jun 8 16:12:45 2000
@@ -69,6 +69,7 @@
         }
         if (irq != NULL)
                 *irq = 0;
+ hw->io_ports[IDE_IRQ_OFFSET] = 0;
 }
 
 static __inline__ void ide_init_default_hwifs(void)
--- linux/include/asm-alpha/ide.h.old Thu Jun 8 17:24:30 2000
+++ linux/include/asm-alpha/ide.h Thu Jun 8 17:24:33 2000
@@ -61,6 +61,7 @@
         }
         if (irq != NULL)
                 *irq = 0;
+ hw->io_ports[IDE_IRQ_OFFSET] = 0;
 }
 
 /*
--- linux/include/asm-sparc64/ide.h.old Thu Jun 8 17:25:49 2000
+++ linux/include/asm-sparc64/ide.h Thu Jun 8 17:26:20 2000
@@ -44,6 +44,7 @@
         }
         if (irq != NULL)
                 *irq = 0;
+ hw->io_ports[IDE_IRQ_OFFSET] = 0;
 }
 
 /*
*********************************************************************

--
=======================================================================
  Andrzej M. Krzysztofowicz               ankry@mif.pg.gda.pl
  phone (48)(58) 347 14 61
Faculty of Applied Phys. & Math.,   Technical University of Gdansk

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Thu Jun 15 2000 - 21:00:14 EST