Re: Why do we need libata to access SATA host controller low level device drivers?

From: Erik Mouw
Date: Tue Oct 18 2005 - 08:49:29 EST


On Tue, Oct 18, 2005 at 09:44:02AM +0530, Deven Balani wrote:
> I'm sorry if my question sounds absurd to some. I've found out through
> web sources, for the following reasons/features we need libata,

[...]

> But still at the back of my curious mind I'm looking for the most
> appropriate answer to this question that can come only come from the
> experienced linux kernel experts of this group.

The most appropriate answer is: "cause you don't want to reinvent the
wheel". In order to get full SATA support, you only need to write a
host driver, libata takes care of the gory details.

> Now some info about myself, i'm a software engineer in india and
> developing GPL'ed (open source and Linux Kernel 2.4 based) SATA
> low-level driver for a SATA/ATAPI-6 Host Controller on a ARM 920TDMI
> based chipset.

You don't want to use a 2.4 kernel on ARM, especially not when you're
using new hardware. 2.4 is development is dead, everybody has moved to
2.6.


Erik

--
+-- Erik Mouw -- www.harddisk-recovery.com -- +31 70 370 12 90 --
| Lab address: Delftechpark 26, 2628 XH, Delft, The Netherlands
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/