Re: [lkml] Linux 2.4.19-ac4

Alan Cox (alan@lxorguk.ukuu.org.uk)
07 Aug 2002 15:31:42 +0100


On Tue, 2002-08-06 at 13:30, Ian Soboroff wrote:
>
> Never mind. It turns out I still have to pass 'ide0=ata66 ide1=ata66'
> on the kernel command line. 2.4.19-ac4 boots for me!

Do you have ALI_INIT_CODE_TEST in the file defined or undef ?

If its defined then this means the code path that causs the problem is
quite small and is in the function

ata66_ali15x3

Can you comment out the bit below and see if that is the cure

/*
* CD_ROM DMA on (m5229, 0x53, bit0)
* Enable this bit even if we want to use PIO
* PIO FIFO off (m5229, 0x53, bit1)
* The hardware will use 0x54h and 0x55h to control PIO FIFO
*/
pci_read_config_byte(dev, 0x53, &tmpbyte);
tmpbyte = (tmpbyte & (~0x02)) | 0x01;

pci_write_config_byte(dev, 0x53, tmpbyte);

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