Re: 2.4.19-pre4-ac[23] do not boot

Alan Cox (alan@lxorguk.ukuu.org.uk)
Fri, 29 Mar 2002 16:20:07 +0000 (GMT)


> 2.4.19-pre4-ac[23] does not boot. I've not tested ac1 but vanilla pre4
> works.

Can you try backing out the following two changes, one at a time. These are
the only ALi specific changes. So firstly I want to see if its an ALi or
core IDE bug

diff -u --new-file --recursive --exclude-from /usr/src/exclude linux.19p4/drivers/ide/alim15x3.c linux.19pre4-ac3/drivers/ide/alim15x3.c
--- linux.19p4/drivers/ide/alim15x3.c Mon Mar 25 17:47:11 2002
+++ linux.19pre4-ac3/drivers/ide/alim15x3.c Tue Mar 26 18:36:23 2002
@@ -248,7 +248,7 @@
byte s_clc, a_clc, r_clc;
unsigned long flags;
int bus_speed = system_bus_clock();
- int port = hwif->index ? 0x5c : 0x58;
+ int port = hwif->channel ? 0x5c : 0x58;
int portFIFO = hwif->channel ? 0x55 : 0x54;
byte cd_dma_fifo = 0;

@@ -442,6 +442,8 @@
ide_dma_action_t dma_func = ide_dma_on;
byte can_ultra_dma = ali15x3_can_ultra(drive);

+ (void) config_chipset_for_pio(drive);
+
if ((m5229_revision<=0x20) && (drive->media!=ide_disk))
return hwif->dmaproc(ide_dma_off_quietly, drive);

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