[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Status of ATA support

From: Marco Gerards
Subject: Status of ATA support
Date: Sat, 10 Nov 2007 19:03:26 +0100
User-agent: Gnus/5.110006 (No Gnus v0.6) Emacs/21.4 (gnu/linux)


A while ago I added support for ATA support.  It wasn't complete yet,
but I rather have this in CVS than rotting on my harddisk.  Besides
that, it isn't *that* bad.  I will describe the outstanding issues

First of all, this is mainly for i386-linuxbios.  On i386-pc we have
to disable biosdisk support because ata.mod and biosdisk.mod do not
like eachother :-).  Perhaps disk access via the BIOS will not be
possible/safe anymore after loading ata.mod.

PCI devices are not supported *yet*.  Same for controllers 3 and 4.  I
will work on this.

The code to detect the type of controller (PATA, SATA, PATAPI, SATAPI)
really sucks.  I will have a look at this.

There is no code to detect the amount of sectors for a CDROM.  I will
write this eventually.  Patches are more than welcome!

The biggest problem is that grub_get_rtc is used to measure how long
we have to wait for the hardware to settle.  This function return the
amount of ticks (1/18th of a second), this resolution is not
acceptable.  It will result in large delays in ata.mod because it will
wait at least 1/18th of a second on i386-pc.

For i386-linuxbios we still need grub_get_rtc.

More about this on my blog:


reply via email to

[Prev in Thread] Current Thread [Next in Thread]