[LinuxBIOS] filo ide speedup patch!

Tom Sylla tsylla at gmail.com
Sun Apr 8 08:01:21 CEST 2007


Peter Stuge wrote:
> On Fri, Apr 06, 2007 at 06:07:58PM -0400, Tom Sylla wrote:
>> Peter Stuge wrote:
>>>> If you don't want to do that much work, you may want to at least
>>>> try to use rep insd when you can. It is faster. All relatively
>>>> modern IDE controllers support it just fine. (Some older
>>>> controllers do not, however)
> 
> How old by the way? ISA old? VLB old? Early PCI old?

I little later than that, but not much: around the time IDE controllers 
were being integrated. For example, PIIX4-based systems did 32-bit 
transfer modes, as does every ICH since.

>> You really should be checking word 47 of the IDENTIFY DEVICE data to
>> know how many sectors per interrupt are transferred for READ/WRITE
>> MULTIPLE. I didn't see that in your patch any where.
> 
> Right, but I'm still using READ SECTOR(S), just with Sector Count > 1
> so I don't think I need SET MULTIPLE MODE.

Ah, yep. Well, then there is another optimization to make, support 
mult_count. :)





More information about the coreboot mailing list