Justin Cormack wrote:

>>FYI, root on nftla1 works fine on 2.4.17, I tested this last week.
>>
>>ron
>>
>>
>
>it works on 2.4.10-pre6 too. 2.4.18 was broken.
>
>I had one question about 2.4.17-sis patch: the following chunk:
>
>@@ -243,6 +244,24 @@
>        
>        if ((reg4bh & rw_prefetch) != rw_prefetch)
>                pci_write_config_byte(dev, 0x4b, reg4bh|rw_prefetch);
>+
>+       switch(host_dev->device) {
>+       case PCI_DEVICE_ID_SI_530:
>+       case PCI_DEVICE_ID_SI_540:
>+       case PCI_DEVICE_ID_SI_620:
>+       case PCI_DEVICE_ID_SI_630:
>+       case PCI_DEVICE_ID_SI_730:
>+               /* set PCI read request threshold to 50 % full */
>+               pci_read_config_byte(dev, 0x48, &regval);
>+               pci_write_config_byte(dev, 0x48, (regval & 0xF0) | 0x05);
>+               /* Enable Bus Master/PCI bust cycle and Fast post wirte */
>+               pci_read_config_byte(dev, 0x4A, &regval);
>+               pci_write_config_byte(dev, 0x4A, regval | 0xC0);
>+               /* Set prefetch Count to max value == 512 */
>+               pci_write_config_word(dev, 0x4C, 0x0200);   
>+               pci_write_config_word(dev, 0x4E, 0x0200);   
>+       }
>+
> }
> 
>
>should this just be sent to the sis5513 maintainer ie is it linuxbis specific?
>
>Justin
>
These registers are set by normal BIOS. In early days, there is no IDE 
code in LinuxBIOS so I put these
values in the kernel patch.

Ollie


Reply via email to