[PATCH 2/3] [libata] pata_of_platform: OF-Platform PATA device driver

Arnd Bergmann arnd at arndb.de
Wed Nov 28 08:32:58 EST 2007


On Tuesday 27 November 2007, Olof Johansson wrote:
> On Tue, Nov 27, 2007 at 06:39:08PM +0300, Anton Vorontsov wrote:
> > This driver nicely wraps around pata_platform library functions,
> > and provides OF platform bus bindings to the PATA devices.
> 
> > +static struct of_device_id pata_of_platform_match[] = {
> > +     { .compatible = "pata-platform", },
> > +};
> 
> "pata-platform" really means nothing outside of linux. A more
> generic label would be useful.

Maybe the name of the standards it supports? Could be
"ata-4", "ata-5" and the like, or the exact transfer mode, like
"pata-udma-5", "pata-pio-3", "sata-150", etc.

	Arnd <><



More information about the Linuxppc-dev mailing list