lkml.org 
[lkml]   [2006]   [Jul]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: 2.6.17-mm6
Alan Cox wrote:
> Also its dangerous to assume "pata_*" is a PATA driver, it may be SATA
> with a bridge chip, and in some cases like the ATI this is quite common.

Incorrect; what you describe is the core assumption underlying the
"ata_", "pata_", and "sata_" prefixes.

If the user can attached PATA and SATA devices to a controller, its
prefix is ata_
If the user can only attach PATA devices, its prefix is pata_
If the user can only attach SATA devices, its prefix is sata_
For the purposes of this convention, user-attached bridges such as
PATA<->SATA bridges, are ignored.

Most older controllers always fall into pata_, most newer into sata_,
and an odd few ata_

Its a bug if you don't help maintain these assumptions :)

Jeff


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2006-07-07 19:17    [W:0.163 / U:0.172 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site